home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / sedt40pc.zip / SEDTMAN.EDT < prev    next >
Text File  |  1989-08-24  |  193KB  |  6,353 lines

  1. Copyright (c) Anker Berg-Sonne, 1985-1989
  2.     Sedt Version 4.0 (254)
  3.  
  4.  
  5.                  Sedt Reference Manual
  6.  
  7.                      Index
  8.  
  9.     0        Introduction
  10.     0.0        Structure of This Manual
  11.     0.1        Terminology
  12.  
  13.     1        Primer
  14.     1.0        Getting Started
  15.     1.1        Display
  16.     1.2        Moving the cursor
  17.     1.3        Inserting Text
  18.     1.4        Deleting Text
  19.     1.5        Saving your changes
  20.     1.6        Summary
  21.     1.7        Limitations
  22.  
  23.     2        Advanced Guide
  24.     2.1        Introduction
  25.     2.2        Entering Sedt
  26.     2.2.1        -<Line Number>
  27.     2.2.2        -a
  28.     2.2.3        -at
  29.     2.2.4        -b
  30.     2.2.5        -co
  31.     2.2.6        -e
  32.     2.2.7        -edt
  33.     2.2.8        -ega
  34.     2.2.9        -f
  35.     2.2.10        -i<File Name>
  36.     2.2.11        -k
  37.     2.2.12        -l<Size>
  38.     2.2.13        -m<Hex number>
  39.     2.2.14        -mo
  40.     2.2.15        -p<PID>
  41.     2.2.16        -pc
  42.     2.2.17        -r
  43.     2.2.18        -rb
  44.     2.2.19        -ro
  45.     2.2.20        -s<Size>
  46.     2.2.21        -v
  47.     2.2.22        -wi
  48.     2.2.23        -wps
  49.     2.2.24        -xt
  50.  
  51.     2.3        Sedt's Data Files
  52.     2.3.1        Configuration File
  53.     2.3.1.1     AUTOSAVE
  54.     2.3.1.2        BACKUPFILE
  55.     2.3.1.3     BUFFERING
  56.     2.3.1.4        COLUMN
  57.     2.3.1.5        CONTEXT
  58.     2.3.1.6        CONTROLZ
  59.     2.3.1.7        CURSORLINE
  60.     2.3.1.8     DIALOG
  61.     2.3.1.9     EGA43
  62.     2.3.1.10    FONTSIZE
  63.     2.3.1.11    GOLD
  64.     2.3.1.12    JOURNALING
  65.     2.3.1.13    KEYBOARD
  66.     2.3.1.14    KEYPROG
  67.     2.3.1.15    MAPPING
  68.     2.3.1.16    MAXSCROLL
  69.     2.3.1.17    MODE
  70.     2.3.1.18    MOUSE
  71.     2.3.1.19    NUMLOCK
  72.     2.3.1.20    PALETTE
  73.     2.3.1.21    REMEMBER
  74.     2.3.1.22    RETURN
  75.     2.3.1.23    RULER
  76.     2.3.1.24    SCREEN
  77.     2.3.1.25    SCREENSHIFT
  78.     2.3.1.26    SHAREMESSAGE
  79.     2.3.1.27    SYSTEM
  80.     2.3.1.28    TAB
  81.     2.3.1.29    VIDEO
  82.     2.4        Initialization
  83.     2.5        Setting up the ruler
  84.     2.6        Options/Modes
  85.     2.7        Responding to Prompts
  86.     2.8        Repeating Commands
  87.     2.9        Cursor Movement
  88.     2.10        Text Insertion
  89.     2.11        Selecting Text Ranges
  90.     2.12        Deleting Text
  91.     2.13        Substitution
  92.     2.14        Windows and Buffers
  93.     2.15        Text Formatting
  94.     2.16        Programming Keys
  95.     2.17        Changing Options
  96.     2.18        Miscellaneous Commands
  97.  
  98.     3        Using the MS-DOS version of Sedt
  99.     3.1        Support of the Microsoft mouse driver
  100.  
  101.     4        Using the Microsoft Windows version of Sedt
  102.     4.1        Window Control
  103.     4.2        Mouse Control
  104.     4.3        Menu Control
  105.     4.3.1        File
  106.     4.3.1.1     New
  107.     4.3.1.2     Open..
  108.     4.3.1.2     Save
  109.     4.3.1.3     Save as..
  110.     4.3.1.4     Insert..
  111.     4.3.1.5     Quit
  112.     4.3.2        Window
  113.     4.3.2.1     Untitled
  114.             Unused
  115.             <File name>
  116.     4.3.2.2     Switch
  117.     4.3.3        Edit
  118.     4.3.3.1     Clear
  119.     4.3.3.2     Cut
  120.     4.3.3.3     Paste
  121.     4.3.4        Ruler
  122.     4.3.4.1     Load <X>
  123.     4.3.5        Help
  124.  
  125.     5        Using the ATARI GEM version of Sedt
  126.     5.1        Window Control
  127.     5.2        Mouse Control
  128.     5.3        Menu Control
  129.     5.3.1        Desk
  130.     5.3.1.1     About Sedt
  131.     5.3.2        File
  132.     5.3.2.1     Load..
  133.     5.3.2.2     Save
  134.     5.3.2.3     Save as..
  135.     5.3.2.4     Insert..
  136.     5.3.2.5     Quit
  137.     5.3.3        Window
  138.     5.3.3.1     Open 0
  139.     5.3.3.2     Switch
  140.     5.3.3.3     Clear
  141.     5.3.4        Select
  142.     5.3.4.1     Clear
  143.     5.3.4.2     Cut
  144.     5.3.4.3     Paste
  145.     5.3.5        Ruler
  146.     5.3.5.1     Load <X>
  147.     5.3.6        Help
  148.     5.3.6.1     Show
  149.  
  150.     6        Sedt hints and tricks
  151.     6.1        Using Sedt for programming
  152.     6.2        Using Sedt for text and documents
  153.     6.3        Repetitive tasks
  154.     6.4        Creating menus
  155.     6.5        Using  different    initialization    files   for
  156.             different file types
  157.     
  158.     7        Customizing keyboards
  159.     7.1        Function definition file
  160.     7.2        Key map file
  161.     7.3        MAPKEY program
  162.     
  163.     8        Help file
  164.  
  165.     9        Reference
  166.     9.1        Interpreting Keyboard Input
  167.     9.2        Translating Keystrokes
  168.     9.3        Command Syntax
  169.     9.4        Commands
  170.     9.4.1        Movement Commands
  171.     9.4.1.1     @AC    Absolute Character
  172.     9.4.1.2     @AL    Absolute Line
  173.     9.4.1.3     @BB    Beginning of Buffer
  174.     9.4.1.4     @BM    Match bracketing character
  175.     9.4.1.5     @EB    End of Buffer
  176.     9.4.1.6     @EL    End of Line
  177.     9.4.1.7     @C    Character
  178.     9.4.1.8     @F    Find
  179.     9.4.1.9     @L    Line
  180.     9.4.1.10    @M    Mark
  181.     9.4.1.11    @N    Next
  182.     9.4.1.12    @PAG    Page
  183.     9.4.1.13    @PAR    Paragraph
  184.     9.4.1.14    @SCR    Screen
  185.     9.4.1.15    @SEN    Sentence
  186.     9.4.1.16    @SR    Select Range
  187.     9.4.1.17    @V    Vertical
  188.     9.4.1.18    @W    Word
  189.     9.4.1.19    @XNM    Next Mark
  190.     9.4.1.20    @XSR    Select Region with no clear
  191.     9.4.2        Action Commands
  192.     9.4.2.1     :A    Advance
  193.     9.4.2.2     :B    Backward
  194.     9.4.2.3     :CB    Cursor at Bottom
  195.     9.4.2.4     :CC    Change Case
  196.     9.4.2.5     :CD    Change to Lower case
  197.     9.4.2.6     :CE    Change Case Edt Style
  198.     9.4.2.7     :CH    Insert ASCII Character
  199.     9.4.2.8     :CK    Checkpoint buffer
  200.     9.4.2.9     :CL    Center Line
  201.     9.4.2.10    :CM    Cursor at Middle
  202.     9.4.2.11    :CNA    Add number to counter
  203.     9.4.2.12    :CNG    Get counter from buffer
  204.     9.4.2.13    :CNI    Increment or decrement counter
  205.     9.4.2.14    :CNP    Insert value of counter in buffer
  206.     9.4.2.15    :CNS    Set counter value
  207.     9.4.2.16    :CS    Save buffer context
  208.     9.4.2.17    :CT    Cursor at Top
  209.     9.4.2.18    :CU    Change to Upper Case
  210.     9.4.2.19    :CW    Change to other window on screen
  211.     9.4.2.20    :D    Delete
  212.     9.4.2.21    :EAP    Delete and Append
  213.     9.4.2.22    :EK    Execute key
  214.     9.4.2.23    :EL    Set error level
  215.     9.4.2.24    :ERC    Clear edit region
  216.     9.4.2.25    :ERS    Set edit region
  217.     9.4.2.26    :FE    Edit File
  218.     9.4.2.27    :FG    Get File
  219.     9.4.2.28    :FNL    Larger Font
  220.     9.4.2.29    :FNS    Smaller Font
  221.     9.4.2.30    :FS    Save File
  222.     9.4.2.31    :FW    Write File
  223.     9.4.2.32    :FX    Execute File
  224.     9.4.2.33    :GAP    Get and append
  225.     9.4.2.34    :GE    Get
  226.     9.4.2.35    :GR    Get ruler
  227.     9.4.2.36    :H    Help
  228.     9.4.2.37    :I    Insert
  229.     9.4.2.38    :KF    Define key function string
  230.     9.4.2.39    :KN    Define key function number
  231.     9.4.2.40    :LD    Decrease indentation
  232.     9.4.2.41    :LI    Increase indentation
  233.     9.4.2.42    :LK    Load key definition
  234.     9.4.2.43    :LNE    Execute keystrokes stored in key
  235.     9.4.2.44    :LNL    Store keystrokes in key
  236.     9.4.2.45    :LNX    End learning
  237.     9.4.2.46    :LS    Set indentation level
  238.     9.4.2.47    :M    Mark cursor position
  239.     9.4.2.48    :NL    New line
  240.     9.4.2.49    :NS    Substitute next
  241.     9.4.2.50    :OE    Output error message
  242.     9.4.2.51    :OL    Open line
  243.     9.4.2.52    :OM    Output message
  244.     9.4.2.53    :OS    Toggle overstrike mode
  245.     9.4.2.54    :OW    Switch to previous buffer
  246.     9.4.2.55    :PD    Insert current date
  247.     9.4.2.56    :PL    Load paste buffer
  248.     9.4.2.57    :POPCH    Restore saved buffer change flag
  249.     9.4.2.58    :PR    Print current buffer
  250.     9.4.2.59    :PS    Save paste buffer
  251.     9.4.2.60    :PT    Insert current time
  252.     9.4.2.61    :PUSHCH Save buffer change flag and clear
  253.     9.4.2.62    :Q    Quit
  254.     9.4.2.63    :REP    Replace
  255.     9.4.2.64    :RF    Refresh display
  256.     9.4.2.65    :RK    Redefine key as character
  257.     9.4.2.66    :RL    Ruler
  258.     9.4.2.67    :RMCHA    Clear character delete buffer
  259.     9.4.2.68    :RMHEL    Clear help buffer
  260.     9.4.2.69    :RMLIN    Clear line delete buffer
  261.     9.4.2.70    :RMPAG    Clear page delete buffer
  262.     9.4.2.71    :RMPAR    Clear paragraph delete buffer
  263.     9.4.2.72    :RMPAS    Clear paste buffer
  264.     9.4.2.73    :RMSEA    Clear search buffer
  265.     9.4.2.74    :RMSEN    Clear sentence delete buffer
  266.     9.4.2.75    :RMSUB    Clear substitute buffer
  267.     9.4.2.76    :RMUNK    Clear unknown delete buffer
  268.     9.4.2.77    :RMWOR    Clear word delete buffer
  269.     9.4.2.78    :RS    Reset select range
  270.     9.4.2.79    :RTAB    Replace tabs with spaces
  271.     9.4.2.80    :RUL    Load ruler from entity
  272.     9.4.2.81    :RUS    Save ruler in buffer
  273.     9.4.2.82    :SAVK    Save key definitions in a file
  274.     9.4.2.83    :SC    Show current column
  275.     9.4.2.84    :SEL    Select
  276.     9.4.2.85    :SETB    Set block/line mode toggle
  277.     9.4.2.86    :SETD    Set direction toggle
  278.     9.4.2.87    :SETK    Set typewriter key command execution
  279.     9.4.2.88    :SETR    Set replace/insert toggle
  280.     9.4.2.89    :SETT    Set tab insert/expand toggle
  281.     9.4.2.90    :SETU    Set case sensitivity toggle
  282.     9.4.2.91    :SI    Send a shift in character
  283.     9.4.2.92    :SK    Save key definition
  284.     9.4.2.93    :SL    Load search buffer
  285.     9.4.2.94    :SO    Send a shift out character
  286.     9.4.2.95    :STAB    Replace multiple spaces with tabs
  287.     9.4.2.96    :STRP    Strip trailing spaces
  288.     9.4.2.97    :SUB    Substitute
  289.     9.4.2.98    :SV    Show Version
  290.     9.4.2.99    :SYQ    Spawn with no output
  291.     9.4.2.100    :SYR    Spawn with redirected output
  292.     9.4.2.101    :SYS    Spawn to operating system
  293.     9.4.2.102    :TAB    Move to next tab stop
  294.     9.4.2.103    :TAD    Adjust text by one tab stop
  295.     9.4.2.104    :TB    Toggle Block Mode
  296.     9.4.2.105    :TC    Toggle Control Character Display
  297.     9.4.2.106    :TD    Toggle Direction
  298.     9.4.2.107    :TF    Fill
  299.     9.4.2.108    :TI    Test for input
  300.     9.4.2.109    :TK    Toggle typewriter key command execution
  301.     9.4.2.110    :TM    Toggle buffer markers
  302.     9.4.2.111    :TP    Toggle Cursor Line
  303.     9.4.2.112    :TR    Toggle ruler display
  304.     9.4.2.113    :TS    Toggle automatic screen shifts
  305.     9.4.2.114    :TT    Toggle tab expansion
  306.     9.4.2.115    :TU    Toggle case sensitivity
  307.     9.4.2.116    :UC    Undelete character
  308.     9.4.2.117    :UL    Undelete line
  309.     9.4.2.118    :UM    Undo last command
  310.     9.4.2.119    :UOFF    Turn off screen updating
  311.     9.4.2.120    :UON    Turn on screen updating
  312.     9.4.2.121    :UPAG    Undelete page
  313.     9.4.2.122    :UPAR    Undelete paragraph
  314.     9.4.2.123    :UPD    Update screen header
  315.     9.4.2.124    :USEN    Undelete sentence
  316.     9.4.2.125    :USR    Paste
  317.     9.4.2.126    :UU    Undelete unknown
  318.     9.4.2.127    :UW    Undelete word
  319.     9.4.2.128    :WC    Toggle windows
  320.     9.4.2.129    :WD    Toggle width
  321.     9.4.2.130    :WI    Select buffer
  322.     9.4.2.131    :X    Exit
  323.     9.4.2.132    :YN    Prompt for confirmation
  324.     9.4.2.133    :Z    Zap buffer
  325.  
  326.     Appendix A    Keyboard translation
  327.     Appendix B    Installation
  328.     Appendix C    Error Messages
  329.     
  330.     Copyright (c) Anker Berg-Sonne, 1985-1989
  331.     Sedt Version 4.0 (254)
  332.  
  333.  
  334.                   Sedt Reference Manual
  335.  
  336.     0.0            Structure of This Manual
  337.  
  338.         This manual  is divided into three sections:  The first a
  339.     tutorial that introduces  the  user  to  the  essential basics of
  340.     editing using Sedt.   The  second an advanced guide that explains
  341.     the more complicated functions, and  the  third  a reference that
  342.     systematically covers all aspects of the  editor.    The Tutorial
  343.     and  Advanced Guide are organized by function:      Entering  Sedt,
  344.     inserting text, moving, etc..  The reference section is organized
  345.     alphabetically for easy access.
  346.  
  347.         For  the operating environments that differ significantly
  348.     from  the  standard,  command  driven  interface, the manual  has
  349.     sections that describes the differences.
  350.  
  351.     0.1              Terminology
  352.  
  353.         Sedt  is  supported  on  a wide range of systems  with    a
  354.     variety  of  keyboard  layouts.  When the manual instructs you to
  355.     type  a key it will use a generic  name  for  the  key,  such  as
  356.     <Return>.  Use the tables in Appendix A to  locate  where the key
  357.     is located on your keyboard.  The angle brackets are also used to
  358.     show where an actual parameter needs to be inserted.  E.g.   when
  359.     you see <line number> you should substitute a decimal number that
  360.     denotes a  line  in  your  file.  A construct surrounded by curly
  361.     brackets {} is    optional.    If  a construct is followed by three
  362.     periods ... it can be repeated as many times as you wish.
  363.  
  364.         A keystroke sequence described as <Gold> <Key> is entered
  365.     by typing the <Gold> key first,  then  releasing  it  and  typing
  366.     <Key>.      A sequence described as <Control>  <Key>  is    typed  by
  367.     holding down the <Control> key while <Key> is typed.
  368.  
  369.         The <Gold> key    is  the  most  important key to remember.
  370.     It's location on the  different  keyboards that Sedt supports is:
  371.     Keypad PF1 on Digital keyboards,  Esc  or  Num Lock on old IBM PC
  372.     keyboards  or  the  new  IBM  PC  keyboard,    Esc   on  old  IBM
  373.     PC/AT keyboards and Keypad ( on ATARI ST keyboards.
  374.     
  375.     Copyright (c) Anker Berg-Sonne, 1985-1989
  376.     Sedt Version 4.0 (254)
  377.  
  378.  
  379.                     Tutorial
  380.  
  381.     1.0             Getting Started
  382.  
  383.         To start  editing  a  file with Sedt you type the command
  384.     "Sedt <file name>"  at    the operating system command prompt.  The
  385.     same command is used to create a new file and to edit an existing
  386.     file.
  387.  
  388.     For example:
  389.  
  390.         SEDT FOO.BAR
  391.  
  392.         will create a new file named FOO.BAR, or modify  the file
  393.     if it already exists.
  394.     1.1                 Display
  395.  
  396.         The Sedt screen  display show a section, called a window,
  397.     of the file you  are  editing.      What    you  see  is what will be
  398.     written to the file.   Editors    of  this  type are called WYSIWYG
  399.     (What You See Is What You  Get)  editors.    Above  and below the
  400.     window is  displayed  information  about the edit session and the
  401.     settings of options.
  402.  
  403.         The first  line on the display , the FILE line, gives you
  404.     information about the file you currently are editing.
  405.  
  406.             In the    first column you may see an asterisk (*).
  407.         This shows that  you  have modified the file since it was
  408.         loaded, or since last time it was saved by you.
  409.  
  410.             Next Sedt shows the name of the file being edited
  411.         after the text "File:  ".    The name is exactly the same
  412.         as the one you entered when you called Sedt.
  413.  
  414.             After the  text  "C="  you  will  see  the column
  415.         within the text  that the cursor is placed over.  On some
  416.         versions the column number  is    not shown for performance
  417.         reasons.
  418.  
  419.             The text "L=" is followed  by  the  absolute line
  420.         number within the text being edited  that  the    cursor is
  421.         placed on.
  422.  
  423.             The next field, after the text "B="  shows  which
  424.         of   several  possible    file  buffers  you  are  editing.
  425.         Buffers allow you to edit several files at the same time.
  426.         To  begin  with, Sedt will always display buffer number 0
  427.         containing the    file  you specified when you called Sedt.
  428.         More information about    buffers  is  given  later in this
  429.         manual.
  430.     
  431.             On  IBM  PCs, PS/2s and compatibles a C  will  be
  432.         displayed  in  the  last  column if the Caps Lock  is  in
  433.         effect.
  434.  
  435.         The second line  of  the  display is the RULER.  It shows
  436.     how the text you  are  editing will be formatted.  You can change
  437.     the ruler a number of  ways.  The ruler shown when you enter Sedt
  438.     is the DEFAULT RULER, which most  often  is the one supplied with
  439.     Sedt.  You, or your system manager  may  change the default ruler
  440.     or any other ruler stored on disk.
  441.  
  442.         All lines from the third to the third from the bottom are
  443.     a WINDOW into the file    you  are editing.  In the window you will
  444.     see a portion of the text  you    are editing.  The location of the
  445.     blinking cursor shows the position that editing  operations  will
  446.     be performed at.
  447.  
  448.         The second line  from  the  bottom  is    the MODE line and
  449.     shows you the current state of several options within  Sedt.  All
  450.     of these options are under your control.
  451.  
  452.             First,    you  will  see    either    "Fwd"  or  "Rev".
  453.         Several  commands  use    the status of this mode and  will
  454.         move  toward  the beginning of the text when the mode  is
  455.         "Rev"  and  toward  the  end of the text when the mode is
  456.         "Fwd".
  457.  
  458.             Secondly  you will see either "Ins" or "Rep".  In
  459.         "Ins" mode, which Sedt starts the  session  in,  all text
  460.         insertion will push the character at the  cursor  to  the
  461.         right to make room for the new character.  In  "Rep" mode
  462.         the  text you type will over-write the text previously on
  463.         the screen.
  464.  
  465.             The "Lin" or "Blk" display  show how text cut and
  466.         paste  operations  will be performed.    More  information
  467.         about this mode is given in the  section dealing with cut
  468.         and paste.
  469.  
  470.             "Tab:Exp"  or     "Tab:Ins"   shows  whether  Sedt
  471.         attempts to save  file    space by inserting horizontal tab
  472.         characters.  Sedt assumes  that  the terminal and printer
  473.         have  tab  stops  set  at    8     column  intervals.    In
  474.         "Tab:Exp"  mode, which is  the    state  Sedt  is  in  when
  475.         started,  it  does  not use  horizontal  tab  characters.
  476.         Several  replace  mode functions and cut  and  paste  may
  477.         return    undesired results when "Tab:Ins" is used.  It  is
  478.         recommended that you  keep  Sedt in "Tab:Exp" mode unless
  479.         you are an experienced user of Sedt.
  480.     
  481.             "Case:Off" or "Case:On" shows    whether  searches
  482.         are case  sensitive or not.  When "Case:Off" text will be
  483.         satisfy searches no  matter  what  case  any  letter has.
  484.         With "Case:On" only exact matches in upper and lower case
  485.         will satisfy a search.
  486.  
  487.             "Shift=" is followed by either    a  number  or the
  488.         text "Off".  When "Shift="  is    followed  by a number the
  489.         screen window will be shifted horizontally to ensure that
  490.         the  cursor  remains within the window.   As  the  cursor
  491.         advances  beyond  the  right-most position on the screen,
  492.         the  window  will  be displaced right to move the  cursor
  493.         back within the screen.  When the text "Off" is displayed
  494.         the leftmost  position    of  the window will correspond to
  495.         the leftmost position of the text.
  496.  
  497.         The next  field  is  blank  unless  keystrokes    are being
  498.         learned  or replayed.     When  learning  the  field  will
  499.         display  "Lrn".   When    replaying    it  will  display
  500.         "Exe".
  501.  
  502.         The  field  "Mod="  is    followed by the  numbers  of  the
  503.         editing buffers that contain unsaved changes.
  504.  
  505.     1.2            Moving the cursor
  506.  
  507.         The simplest commands to move the  cursor  are    the arrow
  508.     keys.
  509.  
  510.             The <Right arrow> key will advance  the cursor by
  511.         one character in the text.  As the cursor advances beyond
  512.         the last character on a line it moves to the start of the
  513.         next line.
  514.  
  515.             The  <Left arrow> key moves  a    single    character
  516.         toward the  start  of the text.  As the cursor moves past
  517.         the start of  a  line  it goes to the end of the previous
  518.         line.
  519.  
  520.             The <Up  arrow>  key  moves  straight up.  If the
  521.         cursor moves from a position that is further to the right
  522.         than the end of the previous line it will move to the end
  523.         of  it.   Sedt remembers the  column  that  a  series  of
  524.         vertical  arrow  commands  started  at    and will  try  to
  525.         position the cursor at the original column.
  526.  
  527.             <Down  arrow>  moves  the  cursor  straight down.
  528.         Just  as  with    <Up arrow> the cursor will  not  position
  529.         itself further right than the end of a line  of  text and
  530.         will try to position itself at the same column as  it was
  531.         at when a series of vertical arrow commands were started.
  532.  
  533.         The  arrow  keys  are  all  that you need to move to  any
  534.     location in the text.  On most systems you can hold the  key down
  535.     and  have  the    command repeated at a high rate.  Sedt can handle
  536.     very high  rates  of command input and cannot be harmed by having
  537.     commands repeated.
  538.  
  539.     1.3             Inserting Text
  540.  
  541.         Inserting text is  easy  with  Sedt.    Simply    place the
  542.     cursor where you want  the first character and type the text.  If
  543.     there are characters over or to the right of the cursor they will
  544.     be pushed to the right as  you    type.  To end a line of input and
  545.     continue on the next line simply type a <Return>.   You can enter
  546.     an arbitrary ASCII character by typing <Gold>, then  the  decimal
  547.     value of the character on the normal typewriter keyboard and then
  548.     <Gold> and finally <Keypad 3>.
  549.  
  550.     1.4              Deleting Text
  551.  
  552.         Text is easily deleted by moving the  cursor to the right
  553.     of the character you want to delete and  typing the <Delete> key.
  554.     If the cursor is  at  the  far left of a line it will be moved to
  555.     the end of the previous line.
  556.  
  557.     1.5               Saving your changes
  558.  
  559.         When you have finished your  changes  you  can    save them
  560.     and leave Sedt by typing two keys after one another:   <Gold> and
  561.     the F key.
  562.  
  563.         If you decide not to keep the changes you can type <Gold>
  564.     and Q.    If you have made any changes to  the  file  you  will  be
  565.     asked  for confirmation before    your  changes  are  thrown  away.
  566.     Answer the affirmative if you are sure you do not need them.
  567.  
  568.         If, for  some  reason such as a power failure, you cannot
  569.     complete an editing  session,  there is still hope.  Sedt will at
  570.     regular intervals save the file you are editing.  These saves are
  571.     only done if you have made changes to the file.
  572.  
  573.     1.6                 Summary
  574.  
  575.         With the commands  described in the tutorial you can make
  576.     any change you need!    Therein  lies  the beauty of Sedt.  It is
  577.     extremely easy to use, fast  and  reliable.    The  rest  of  the
  578.     commands extend Sedt by allowing you  to  perform  complex  tasks
  579.     with  a  few simple keystrokes.  The  Advanced    Guide  takes  you
  580.     through all these powerful features.
  581.  
  582.     1.7               Limitations
  583.  
  584.         Sedt uses  a combination of RAM memory and disk memory to
  585.     store the information  it  is  working    on.   This includes files
  586.     being edited, current key  definitions    and  text  that  has been
  587.     deleted.  If the total    amount    of  information exceeds available
  588.     memory Sedt will abort, but  will  leave  the a chekpoint file if
  589.     autosave  has  been in effect.     You  can  then  make  more  room
  590.     available and restart the edit session and  load  the  checkpoint
  591.     file.
  592.  
  593.         Sedt also has an internal limit which cannot be exceeded.
  594.     If  you crash because this limit has been exceeded and    you  have
  595.     been  editing  several    buffers,  you  may  be able to recover by
  596.     editing each file separately.
  597.  
  598.         The internal limits  are  20MB for the VMS and VAX ULTRIX
  599.     versions and 1MB for  all  other  versions.    These are defaults
  600.     which can be extended with the -s qualifier.
  601.     
  602.     Copyright (c) Anker Berg-Sonne, 1985-1989
  603.     Sedt Version 4.0 (254)
  604.  
  605.  
  606.                  Advanced Guide
  607.  
  608.     2.1              Introduction
  609.  
  610.         The Advanced Guide attempts to take you logically through
  611.     the  extremely rich command set of Sedt.  Even    though    care  has
  612.     been  taken  not to mention features without describing them, you
  613.     may find  that    you  have  to  cross-reference different sections
  614.     before you fully understand a feature.    The Reference section may
  615.     come in very useful for this purpose.
  616.  
  617.     2.2              Entering Sedt
  618.  
  619.         The complete syntax for calling Sedt is
  620.  
  621.     SEDT {<Input File> {<Output file>}} {<Option>... }
  622.  
  623.         The input file will be loaded into buffer number 0, which
  624.     is  the  editing  buffer  at  start-up.  If  an  output  file  is
  625.     specified,  buffer  0  will be saved into the specified  file  by
  626.     default.
  627.  
  628.         Options  change the behavior of  Sedt  for  the  complete
  629.     editing session. A complete list of options follows:
  630.  
  631.     2.2.1        -<Line Number>
  632.                 After initialization Sedt  will  position
  633.                 the  cursor  at the  start  of    the  line
  634.                 number    you provided.  This  function  is
  635.                 most useful for programmers that need  to
  636.                 go to a line number that the compiler has
  637.                 passed a syntax error message for.
  638.  
  639.     2.2.2        -a
  640.                 Turns  autosaves  on  for    the  editing
  641.                 session.    Autosaves  ensures that  your
  642.                 file  is  saved  at regular intervals  in
  643.                 case of a system crash.  Autosaved copies
  644.                 are stored in  files  with  the extension
  645.                 .AUS.
  646.  
  647.     2.2.3        -at
  648.                 Suppresses  Sedt's automatic  recognition
  649.                 of the system and  makes Sedt assume that
  650.                 it is  running    on  an IBM AT with the AT
  651.                 keyboard.  Use    this when the recognition
  652.                 code  fails  to  recognize    the  system
  653.                 properly.
  654.  
  655.     2.2.4        -b
  656.                 Suppresses the renaming  of  old versions
  657.                 when files are saved.     By  default Sedt
  658.                 will rename any existing file  to .BAK on
  659.                 the  MS-DOS  and  ATARI  versions  before
  660.                 writing the new version.  This allows you
  661.                 to recover  from  editing  sessions where
  662.                 you have accidentally corrupted the file.
  663.                 On VMS there is  no  need  for .BAK files
  664.                 since  VMS  supports multiple generations
  665.                 of files.  Normally -b is  used when disk
  666.                 space is too tight for both the  new file
  667.                 and the backup.
  668.  
  669.     2.2.5        -co
  670.                 Suppresses  Sedt's automatic  recognition
  671.                 of the system and  makes Sedt assume that
  672.                 it is running on  a  color  system.   Use
  673.                 this when the recognition code    fails  to
  674.                 recognize the system properly.
  675.  
  676.     2.2.6        -e
  677.                 Terminate all files written with an ASCII
  678.                 SUB character.    Some applications require
  679.                 a SUB character to recognize the  end  of
  680.                 data files.
  681.  
  682.     2.2.7        -edt
  683.                 Use the EDT layout with  physical mapping
  684.                 to the LK250 keyboard.      This    switch is
  685.                 not applicable to VMS.
  686.  
  687.     2.2.8        -ega
  688.                 Switch the display into  EGA 43 line mode
  689.                 during the session and switch  back  into
  690.                 25 line mode at the end.
  691.  
  692.     2.2.9        -f
  693.                 Disables full screen editing.  The cursor
  694.                 will always  be  placed  in the middle of
  695.                 the window and    text will move around it.
  696.                 In  full screen mode the cursor will move
  697.                 around    the   window  in  a  manner  that
  698.                 minimizes screen updates.
  699.  
  700.     2.2.10        -i<File Name>
  701.                 Read  internal    Sedt  commands    from  the
  702.                 given  file  after    initialization  and
  703.                 before accepting keyboard input.    Using
  704.                 the    -i    option   prevents    automatic
  705.                 execution  of  the default initialization
  706.                 file.
  707.  
  708.     2.2.11        -k
  709.                 Suppresses Sedt's  automatic  recognition
  710.                 of the keyboard  type  and  informs  Sedt
  711.                 that the system  uses  the  enhanced  IBM
  712.                 keyboard.
  713.     
  714.             -k<type>    
  715.                 Suppresses Sedt's  automatic  recognition
  716.                 of the keyboard  and  forces  Sedt to use
  717.                 <type> as the prefix for keyboard map and
  718.                 help files.
  719.  
  720.     2.2.12        -l<Size>
  721.                 Limits    the  main   memory  buffering  of
  722.                 information to <Size> bytes.  This option
  723.                 is  used  to ensure that enough memory is
  724.                 left  over  to    spawn    sub-processes  on
  725.                 MS-DOS    systems.    This  option  has  no
  726.                 effect        on      other    than    MS-DOS
  727.                 implementations.
  728.  
  729.     2.2.13        -m<Hex number>
  730.                 Changes the  video mode of Sedt under DOS
  731.                 to <Hex number>.    Sedt  understands the
  732.                 following video modes and sets the screen
  733.                 size and type as follows:
  734.     
  735.                 Mode    Color    Columns Lines
  736.     
  737.                 0    Color    40    25
  738.                 1    Color    40    25
  739.                 2    Color    80    25
  740.                 3    Color    80    25
  741.                 7    Mono    80    25
  742.     
  743.                 54    Color    132    43
  744.                 55    Color    132    25
  745.                 56    Mono    132    43
  746.                 57    Mono    132    25
  747.  
  748.     2.2.14        -mo
  749.                 Suppresses  Sedt's automatic  recognition
  750.                 of the system and  makes Sedt assume that
  751.                 it is  running    on  a  monochrome system.
  752.                 Use this when  the recognition code fails
  753.                 to recognize the system properly.
  754.  
  755.     2.2.15        -p<PID>
  756.                 Informs  Sedt  of the Process ID  of  the
  757.                 parent process.  This option is only used
  758.                 on the VMS version of Sedt and creates    a
  759.                 resident version  of  Sedt.  On exit Sedt
  760.                 will attach to    the  parent  process  and
  761.                 remain resident.  Upon    reattachment Sedt
  762.                 will continue the editing session.
  763.  
  764.     2.2.16        -pc
  765.                 Suppresses  Sedt's automatic  recognition
  766.                 of the system and  makes Sedt assume that
  767.                 it is running on an IBM PC with the PC or
  768.                 XT    keyboard.    Use    this  when    the
  769.                 recognition  code  fails to recognize the
  770.                 system properly.
  771.  
  772.     2.2.17        -r
  773.                 When you  supply  the  -r  qualifier  all
  774.                 files written to  disk will have the last
  775.                 line  terminated  with    an    ASCII    CR
  776.                 character.  Use this when you are writing
  777.                 or editing a file for an application that
  778.                 requires this.
  779.  
  780.     2.2.18        -rb
  781.                 Suppresses  Sedt's automatic  recognition
  782.                 of the system and  makes Sedt assume that
  783.                 it is running on a  Digital  Rainbow 100.
  784.                 Use this when the recognition code fails
  785.                 to recognize the system properly.
  786.  
  787.     2.2.19        -ro
  788.                 Set the  buffer  that  the file is loaded
  789.                 into in read only mode.
  790.     
  791.     2.2.20        -s<Size>
  792.                 Set the maximum amount of buffer space to
  793.                 <Size> megabytes.   The  buffer  space is
  794.                 used  to  contain  files   being  edited,
  795.                 delete     and  paste  buffers  plus    key
  796.                 definitions.
  797.  
  798.     2.2.21        -v
  799.                 On IBM PCs and compatibles -v is used  to
  800.                 instruct Sedt  to  access  the    video RAM
  801.                 directly.  The result is a faster display
  802.                 than when the video  firmware  calls  are
  803.                 used.  It may, however,  be  incompatible
  804.                 with some video adaptors.
  805.  
  806.     2.2.22        -wi
  807.                 Use the window defined    by the upper left
  808.                 hand  corner  with  coordinates  XX,YY (0
  809.                 based) and dimensions HH,WW.
  810.     
  811.     2.2.23        -wps
  812.                 Use the WPS layout with physical  mapping
  813.                 to the LK250 keyboard.      This    switch is
  814.                 not applicable to VMS.
  815.  
  816.     2.2.24        -xt
  817.                 Suppresses  Sedt's automatic  recognition
  818.                 of the system and  makes Sedt assume that
  819.                 it is running on an IBM XT with the PC or
  820.                 XT  keyboard.       Use      this    when  the
  821.                 recognition code fails to  recognize  the
  822.                 system properly.
  823.  
  824.     2.3               Sedt's Data Files
  825.  
  826.         For Sedt to function properly it needs a  number  of data
  827.     files.      To  help organize the files Sedt uses  the  concept  of
  828.     libraries where the operating system supports such a facility.
  829.  
  830.         The files used by Sedt are:
  831.  
  832.             An optional  configuration file that sedt uses to
  833.             set  various  options.      The     name     of   the
  834.             configuration file is always SEDT.CNF.
  835.             
  836.             A  keyboard  map  file    that  determines  key  to
  837.             function mapping.
  838.  
  839.             A  function  definition  file  that  defines  all
  840.             predefined functions.  
  841.  
  842.             A Help file that can  displayed during an editing
  843.             session  to  assist the user in  remembering  the
  844.             programming of the keyboard.
  845.     
  846.             A file    containing  a  graphical  display  of the
  847.             keyboard commands.
  848.  
  849.             A  default  ruler file that is used  to  set  the
  850.             ruler at initialization time.
  851.  
  852.             A set of optional ruler files that can    be loaded
  853.             or saved during an editing session.
  854.  
  855.             An optional  command file that is executed during
  856.             Sedt  initialization  for  customization  of  the
  857.             editing interface.
  858.     
  859.         On  MS-DOS,  OS/2, ATARI ST, and UNIX the data files  are
  860.     located  through  a combination of the default directory, and the
  861.     environment variables SEDT, SEDTP, and PATH.    Key map, function
  862.     definition and help files are looked for  in the following order:
  863.     default  directory,  the  directory  that  SEDTP  points to,  the
  864.     directory  SEDT points to and finally in all directories  pointed
  865.     by PATH.    Ruler  files,  SEDTCOM.TXT,  SEDT.REM,  user supplied
  866.     initialization files are  looked  for  in  the    order:      default
  867.     directory, the directory SEDTP    points    to,  the  directory  SEDT
  868.     points to and finally in  all  directories  pointed  to  by PATH.
  869.     SEDT and SEDTP must be defined    as  a  single directory as in SET
  870.     SEDT=C:\SEDT\.      This    scheme    allow  a lot  of  flexibility  in
  871.     organizing  Sedt's  files.    On  single  user systems    the  most
  872.     efficient  is  to  define  SEDT  only.    On multiuser  systems  or
  873.     networks  SEDT    can  be set up to point at a  shared,  read  only
  874.     directory  and    SEDTP  at  a  private  writable directory that is
  875.     different for every user.  The easiest, but least efficient is to
  876.     install Sedt in a directory that is included in PATH.
  877.  
  878.         The names of the files    under MS-DOS, OS/2, ATARI ST, and
  879.     UNIX depend on the configuration.   This  facilitates  using SEDT
  880.     from a shared server directory with different PC models.
  881.  
  882.         The configuration file is always named SEDT.CNF.
  883.  
  884.         The function definition file names are:
  885.     
  886.             FUNDEF.EDT for EDT style editing
  887.             FUNDEF.WPS for WPS style editing
  888.     
  889.         Key mapping files are:
  890.     
  891.             For VMS:
  892.     
  893.                 VAX/VMS VT100    SEDT$VT1XXKEYS:
  894.                 VAX/VMS VT200    SEDT$VT2XXKEYS:
  895.     
  896.             For UNIX:
  897.  
  898.                 UNIX    VT100    vt100.key
  899.                 UNIX    VT200    vt200.key
  900.                 SCO XENIX
  901.                     console ansi.key
  902.     
  903.             On DOS, OS/2 and ATARI:
  904.  
  905.             System        Keyboard    File
  906.  
  907.             Rainbow     LK201        RBxxxM.yyy
  908.             IBM PC        IBM        PCxxxM.yyy
  909.             IBM PC/XT    IBM        PCxxxM.yyy
  910.             IBM PC/AT    IBM        ATxxxM.yyy
  911.             IBM CONVERTIBLE IBM        CVxxxM.yyy
  912.             PS/2        IBM        NPxxxM.yyy
  913.             ANY IBM PC    ENHANCED    NPxxxM.yyy
  914.             ANY IBM PC    LK250        LKxxxM.yyy
  915.             TANDY 1400 LT    TANDY        TCxxxM.yyy
  916.             Compaq SLT    Compact     SLTxxxM.yyy
  917.             ATARI ST            STxxxM.yyy
  918.     
  919.             Where xxx is  DOS  for    MS/DOS, WIN for Microsoft
  920.             Windows, OS2 for OS/2  and  TOS for ATARI TOS and
  921.             GEM.  yyy is EDT  for  EDT  style mapping and WPS
  922.             for WPS style mapping.
  923.     
  924.         The name of the help file is:
  925.     
  926.             HELP.EDT for EDT style editing
  927.             HELP.WPS for WPS style editing
  928.  
  929.         The names of the graphical keyboard display files are:
  930.  
  931.             System        Keyboard    File
  932.  
  933.             Rainbow     LK201        RBxxxH.yyy
  934.             IBM PC        IBM        PCxxxH.yyy
  935.             IBM PC/XT    IBM        PCxxxH.yyy
  936.             IBM PC/AT    IBM        ATxxxH.yyy
  937.             IBM CONVERTIBLE IBM        CVxxxH.yyy
  938.             PS/2        IBM        NPxxxH.yyy
  939.             ANY IBM PC    ENHANCED    NPxxxH.yyy
  940.             ANY IBM PC    LK250        LKxxxH.yyy
  941.             TANDY 1400 LT    TANDY        TCxxxH.yyy
  942.             Compaq SLT    Compact     SLTxxxH.yyy
  943.             VAX/VMS     VT100        SEDT$VT100HELP:
  944.             VAX/VMS     VT200        SEDT$VT200HELP:
  945.             ATARI ST            STxxxH.yyy
  946.             UNIX        VT100        vt100.hlp
  947.             UNIX        VT200        vt200.hlp
  948.             SCO XENIX    console     ansi.hlp
  949.  
  950.             Where xxx is  DOS  for    MS/DOS, WIN for Microsoft
  951.             Windows, OS2 for OS/2  and  TOS for ATARI TOS and
  952.             GEM.  yyy is EDT  for  EDT  style mapping and WPS
  953.             for WPS style mapping.
  954.  
  955.         The MS-DOS initialization file    is  named SEDTCOM.TXT and
  956.     must be located in the    directory  pointed  to by the environment
  957.     variable SEDT.
  958.  
  959.         On  VMS  the  ruler  files  are located in the    directory
  960.     pointed to by the logical name SEDT$DIR:.
  961.  
  962.         The  key definition files  are    located  by  the  logical
  963.     names:
  964.             System        Keyboard    File
  965.  
  966.             VAX/VMS     VT100        SEDT$VT100KEYS:
  967.             VAX/VMS     VT200        SEDT$VT200KEYS:
  968.  
  969.         The  help definition files are    located  by  the  logical
  970.     names:
  971.             System        Keyboard    File
  972.  
  973.             VAX/VMS     VT100        SEDT$VT1XXHELP:
  974.             VAX/VMS     VT200        SEDT$VT2XXHELP:
  975.  
  976.         The initialization command file is located by the logical
  977.     name SEDT$COMMANDS:
  978.  
  979.         On the ATARI ST  under ATARI GEM all files must be in the
  980.     current directory.
  981.  
  982.         On  the  ATARI ST under the Mark  Williams  C  shell  the
  983.     library  for  all  data  files used by Sedt  is  defined  by  the
  984.     environment  variable  SEDT.    The  contents  of the environment
  985.     variable has  the  name of the data file appended to it to locate
  986.     the data file.      If no environment variable is defined the files
  987.     must  be  found  in  the  default  directory.     To  set  up  the
  988.     environment use the SET command.   SETENV SEDT=C:\SEDT\ specifies
  989.     that the files are found in the directory SEDT on drive C.
  990.  
  991.         The names are:
  992.  
  993.         Key mapping file:    STTOSM.yyy
  994.         Key definition file:    FUNDEF.yyy
  995.         Help file:        HELP.yyy
  996.         Keyboard display file:    STTOSH.yyy
  997.         Initialization file:    SEDTCOM.TXT
  998.  
  999.         Where yyy is EDT for EDT style mapping    and  WPS  for WPS
  1000.         style mapping.
  1001.  
  1002.         The names of the ruler files  are RULERn.TXT where n is a
  1003.     digit from 0 to 9.  RULER0.TXT    is  the  default ruler file.  The
  1004.     initialization command file is named SEDTCOM.TXT.
  1005.  
  1006.     2.3.1            Configuration File
  1007.  
  1008.         The configuration file, SEDT.CNF, is an  ASCII    data file
  1009.     containing one-line commands.  Valid commands are:
  1010.  
  1011.     2.3.1.1     AUTOSAVE=ON (Default)
  1012.  
  1013.                 After any  change  to  a buffer Sedt will
  1014.                 count the keystrokes  made  while editing
  1015.                 the  buffer.    After  180  keystrokes    a
  1016.                 warning will be displayed on the bottom
  1017.                 line.    If the File has  not  been  saved
  1018.                 after    200  keystrokes,  Sedt    saves  it
  1019.                 automatically  in  a  file  in    the  same
  1020.                 directory  as the file being edited,  but
  1021.                 with  the  extension .AUS.  The autosaved
  1022.                 version is automatically deleted when the
  1023.                 file is properly  saved.  If an autosaved
  1024.                 file is found when  a  file is loaded you
  1025.                 will be asked whether you  want  to  load
  1026.                 the autosave instead.  If you provide the
  1027.                 wrong  answer to this question reload the
  1028.                 file.
  1029.  
  1030.             AUTOSAVE=n,m
  1031.  
  1032.                 Will  autosave    after  n  keystrokes  and
  1033.                 display the warning  m    keystrokes before
  1034.                 the autosave is due.
  1035.  
  1036.             AUTOSAVE=OFF
  1037.  
  1038.                 Autosaving is disabled.
  1039.  
  1040.     2.3.1.2     BACKUPFILE=ON (Default)
  1041.  
  1042.                 Causes    Sedt  to  ensure  that    a  backup
  1043.                 version of all files are kept.
  1044.  
  1045.             BACKUPFILE=OFF
  1046.  
  1047.                 Causes Sedt to not create backup versions
  1048.                 of saved files.
  1049.     
  1050.     2.3.1.3     BUFFERING=EMS (default)
  1051.     
  1052.                 On  MS-DOS files  being  edited  will  be
  1053.                 buffered in EMS memory before overflowing
  1054.                 to free DOS memory and disk.
  1055.     
  1056.             BUFFERING=NOEMS
  1057.     
  1058.                 EMS memory will not be used for buffering
  1059.                 of files.
  1060.     
  1061.             BUFFERING=FREE (default)
  1062.     
  1063.                 On  MS-DOS  files  being  edited will  be
  1064.                 buffered    in    free  DOS  memory  before
  1065.                 overflowing to disk.  You may not be able
  1066.                 to spawn to  DOS when editing large files
  1067.                 when this option is set.
  1068.     
  1069.             BUFFERING=NOFREE
  1070.     
  1071.                 Free  DOS memory will  not  be    used  for
  1072.                 buffering of files.  This  preserves  the
  1073.                 ability  to  spawn out of Sedt,  but  may
  1074.                 impact performance.
  1075.     
  1076.     2.3.1.4     COLUMN=DISPLAYED (Default, except VMS and ULTRIX)
  1077.  
  1078.                 Enables continuous display of the current
  1079.                 cursor    column on the banner line.   This
  1080.                 is the default on all versions other than
  1081.                 VMS and  ULTRIX.  Enabling this option on
  1082.                 VMS and ULTRIX    may  have  a  significant
  1083.                 impact on performance across a network.
  1084.  
  1085.             COLUMN=OFF (Default for VMS and ULTRIX)
  1086.  
  1087.                 Disables   continuous  display    of    the
  1088.                 current cursor column on the banner line.
  1089.                 This is the default on VMS and ULTRIX.
  1090.  
  1091.     2.3.1.5     CONTEXT=SAVED
  1092.  
  1093.                 Save the editing context when a  file  is
  1094.                 saved.       The    context,  containing  the
  1095.                 current  position,  all   marks  and  the
  1096.                 current ruler are saved  in  a    file with
  1097.                 the  same  file  name and  the    extension
  1098.                 .CTX.  When Sedt edits a  file,  and this
  1099.                 option is set, it will look for  the file
  1100.                 .CTX and restore the context.  The result
  1101.                 is  that when a file is edited again  the
  1102.                 cursor and  marks  from the previous edit
  1103.                 session will be restored.
  1104.  
  1105.                 If  you  have  two   files  in    the  same
  1106.                 directory  with identical filenames, they
  1107.                 will  default to the same .CTX    file  and
  1108.                 the  .CTX file may be overwritten by  the
  1109.                 .CTX   file  for  the  other  file.    To
  1110.                 safeguard against  loading the wrong file
  1111.                 Sedt will verify  that    a  file  and it's
  1112.                 corresponding  .CTX  file match.    If    a
  1113.                 mismatch  is  found the message  "Context
  1114.                 file does not match input file"  will  be
  1115.                 issued.
  1116.  
  1117.             CONTEXT=FORGOTTEN (Default)
  1118.  
  1119.                 To  not  perform  the  actions    described
  1120.                 under CONTEXT=SAVED.
  1121.  
  1122.             CONTEXT=CHECK
  1123.  
  1124.                 Do  not    save  a  context  (.CTX)  file
  1125.                 automatically, but check for the presence
  1126.                 of one when loading  a file and use it of
  1127.                 it is found.
  1128.  
  1129.     2.3.1.6     CONTROLZ=ON
  1130.  
  1131.                 Causes    Sedt  to  terminate  all    files
  1132.                 written with a control Z (EOT) character.
  1133.  
  1134.             CONTROLZ=OFF (Default)
  1135.  
  1136.                 Causes      Sedt    to  not  terminate  files
  1137.                 written with a control Z (EOT) character.
  1138.  
  1139.     2.3.1.7     CURSORLINE=FIXED
  1140.  
  1141.                 Causes    Sedt  to  keep the cursor on  the
  1142.                 middle    line  of the editing window.  The
  1143.                 benefit is  ease  of  finding the current
  1144.                 position and always  being  able  to  see
  1145.                 several lines above and below the cursor.
  1146.  
  1147.             CURSORLINE=FLOATING (Default)
  1148.  
  1149.                 Causes Sedt to float  the  cursor through
  1150.                 the editing window.  The benefit is fewer
  1151.                 screen scrolls.
  1152.     
  1153.     2.3.1.8     DIALOG=ON
  1154.     
  1155.                 Windows and  GEM versions will use dialog
  1156.                 boxes  to prompt  for  input  instead  of
  1157.                 using the bottom line of the display.
  1158.     
  1159.             DIALOG=OFF
  1160.     
  1161.                 Windows  and GEM versions  will  use  the
  1162.                 bottom line of the display  to prompt for
  1163.                 input.
  1164.  
  1165.     2.3.1.9     EGA43=ON
  1166.  
  1167.                 Causes Sedt to switch the display into 43
  1168.                 line  mode.  Unpredictable results can be
  1169.                 expected on other than EGA displays.
  1170.  
  1171.             EGA43=OFF (Default)
  1172.  
  1173.                 Turns off 43 line mode.
  1174.  
  1175.     2.3.1.10    FONTSIZE=<number>
  1176.  
  1177.                 Causes Sedt  to default to a font that is
  1178.                 close to <number> pixels high.
  1179.  
  1180.     2.3.1.11    GOLD=<number>
  1181.  
  1182.                 Causes Sedt to    use function key <number>
  1183.                 as the gold key.
  1184.  
  1185.     2.3.1.12    JOURNALING
  1186.  
  1187.                 Has  no  effect in the current version of
  1188.                 Sedt and exists only for historic reasons.
  1189.  
  1190.     2.3.1.13    KEYBOARD=STANDARD
  1191.  
  1192.                 Forces Sedt  to  assume  that  the system
  1193.                 uses the original PC and XT keyboard.
  1194.  
  1195.             KEYBOARD=LK250
  1196.  
  1197.                 Forces Sedt to assume that the system has
  1198.                 an LK250 keyboard attached.
  1199.  
  1200.             KEYBOARD=NEW
  1201.             KEYBOARD=ENHANCED
  1202.  
  1203.                 Forces Sedt to assume that the system has
  1204.                 the new style IBM keyboard attached.
  1205.  
  1206.             KEYBOARD=CONVERTIBLE
  1207.  
  1208.                 Forces Sedt to assume that the system has
  1209.                 an  IBM  keyboard   convertible  keyboard
  1210.                 attached.
  1211.     
  1212.             KEYBOARD=AT
  1213.     
  1214.                 Forces    Sedt  to  assume that the  system
  1215.                 uses an original AT style keyboard.
  1216.     
  1217.             KEYBOARD=SLT
  1218.     
  1219.                 Forces    Sedt to assume    that  the  system
  1220.                 uses a Compaq SLT keyboard.
  1221.     
  1222.             KEYBOARD=<type>
  1223.     
  1224.                 Forces Sedt to use <type>  as  the prefix
  1225.                 for keyboard map and help files.
  1226.     
  1227.     2.3.1.14    KEYPROG=ON (Default)
  1228.     
  1229.                 Normal typewriter keys will behave as any
  1230.                 other key when    programmed.    If the key
  1231.                 has  not  been programmed  the    key  will
  1232.                 insert the ASCII character bound  to  the
  1233.                 key.
  1234.  
  1235.             KEYPROG=OFF
  1236.     
  1237.                 When a    normal    typewriter key is pressed
  1238.                 the ascii character  bound  to it will be
  1239.                 inserted  even    if  the    key    has  been
  1240.                 programmed.   Getting at the  programming
  1241.                 for  a    typewriter  key  must  be    done
  1242.                 indirectly through the :EK command.
  1243.     
  1244.     2.3.1.15    MAPPING=EDT (Default)
  1245.  
  1246.                 Use  .EDT    extensions    on    key  map,
  1247.                 definition and help  files  and  map  the
  1248.                 keys physically as close  as  possibly to
  1249.                 the LK250 keyboard.
  1250.  
  1251.             MAPPING=WPS
  1252.  
  1253.                 Use    .WPS   extensions  on  key    map,
  1254.                 definition  and  help  files and map  the
  1255.                 keys  physically  as close as possibly to
  1256.                 the LK250 keyboard.
  1257.  
  1258.     2.3.1.16    MAXSCROLL=<Number>
  1259.  
  1260.                 Limits    scrolling  during cursor movement
  1261.                 to <Number> lines.
  1262.  
  1263.     2.3.1.17    MODE=<Hex Number>
  1264.  
  1265.                 Use  video  mode  <Hex    Number>  on    PC
  1266.                 compatible systems.
  1267.  
  1268.                 Mode    Color    Columns Lines
  1269.     
  1270.                 0    Color    40    25
  1271.                 1    Color    40    25
  1272.                 2    Color    80    25
  1273.                 3    Color    80    25
  1274.                 7    Mono    80    25
  1275.     
  1276.                 54    Color    132    43
  1277.                 55    Color    132    25
  1278.                 56    Mono    132    43
  1279.                 57    Mono    132    25
  1280.  
  1281.     2.3.1.18    MOUSE=ENABLED (Default)
  1282.  
  1283.                 Enabled use of the mouse from Sedt.  Sedt
  1284.                 will  try  to  detect  the  presence of a
  1285.                 mouse  and  enable  the  use of the mouse
  1286.                 cursor.
  1287.  
  1288.             MOUSE=DISABLED
  1289.  
  1290.                 Sedt will  not    use a mouse even if it is
  1291.                 present.
  1292.  
  1293.     2.3.1.19    NUMLOCK=SET  (Default  if the  Num  Lock  key  is
  1294.                 mapped by the keyboard map file)
  1295.     
  1296.                 Saves  the  Num Lock state when  Sedt  is
  1297.                 entered and then  sets    it.  On exit from
  1298.                 Sed the Num Lock state is retored.
  1299.     
  1300.             NUMLOCK=CLEARED
  1301.     
  1302.                 Saves  the  Num  Lock  state when Sedt is
  1303.                 entered and then clears it.  On exit from
  1304.                 Sedt the Num Lock state is restored.
  1305.  
  1306.     2.3.1.20    PALETTE=<hex string>
  1307.  
  1308.                 Causes    Sedt to use the characters  given
  1309.                 in  <hex  string> as it's palette.   Each
  1310.                 pair  of    hex   digits  determines  the
  1311.                 attribute character as    defined  for  the
  1312.                 IBM Color Graphics Adapter.  The position
  1313.                 of  the  pair  defines    the  use  of  the
  1314.                 attribute character:  (Sedt only uses the
  1315.                 REVERSE and BOLD attributes).
  1316.  
  1317.                 NORMAL
  1318.                 BOLD
  1319.                 BLINK
  1320.                 BOLD BLINK
  1321.                 UNDERLINE
  1322.                 BOLD UNDERLINE
  1323.                 BLINK UNDERLINE
  1324.                 BOLD BLINK UNDERLINE
  1325.                 REVERSE
  1326.                 BOLD REVERSE
  1327.                 BLINK REVERSE
  1328.                 BOLD BLINK REVERSE
  1329.                 UNDERLINE REVERSE
  1330.                 BOLD UNDERLINE REVERSE
  1331.                 BLINK UNDERLINE REVERSE
  1332.                 BOLD BLINK UNDERLINE REVERSE
  1333.  
  1334.     2.3.1.21    REMEMBER=ON
  1335.  
  1336.                 Remember the filename  that Sedt last was
  1337.                 called with and use  this  filename  when
  1338.                 Sedt    is   called  without  any    file
  1339.                 arguments.
  1340.  
  1341.             REMEMBER=OFF (Default)
  1342.  
  1343.                 Do not    load any file when Sedt is called
  1344.                 without any file arguments.
  1345.  
  1346.     2.3.1.22    RETURN=ON
  1347.  
  1348.                 Causes Sedt to ensure that the last  line
  1349.                 of saved files is terminates with a CR/LF
  1350.                 pair.
  1351.  
  1352.             RETURN=OFF (Default)
  1353.  
  1354.                 Causes Sedt to not append a CR/LF pair to
  1355.                 the last line of saved files.
  1356.  
  1357.     2.3.1.23    RULER=ON (Default)
  1358.  
  1359.                 The current ruler  will  be  displayed at
  1360.                 the top of the window.
  1361.  
  1362.             RULER=OFF
  1363.  
  1364.                 No ruler will displayed unless Sedt is in
  1365.                 ruler definition mode.
  1366.  
  1367.     2.3.1.24    SCREEN=COLOR
  1368.  
  1369.                 Forces     Sedt  to  use    color     graphics
  1370.                 firmware calls.
  1371.  
  1372.             SCREEN=MONO
  1373.  
  1374.                 Forces    Sedt  to  use monochrome firmware
  1375.                 calls.
  1376.  
  1377.     2.3.1.25           SCREENSHIFT=ON (Default)
  1378.  
  1379.                 Enables horizontal shifting of the screen
  1380.                 to  keep  the cursor position  on-screen.
  1381.                 The screen is shifted a half-screen  at a
  1382.                 time.
  1383.  
  1384.             SCREENSHIFT=OFF
  1385.  
  1386.                 Disables  horizontal    shifting  of  the
  1387.                 screen.
  1388.     
  1389.             SCREENSHIFT=<decimal number>
  1390.     
  1391.                 Enables horizontal shifting of the screen
  1392.                 to keep the  cursor  position  on-screen.
  1393.                 The  number  of characters  shifted  each
  1394.                 time is given by <deciman number>.
  1395.                 
  1396.     2.3.1.26    SHAREMESSAGE=ON (Default)
  1397.     
  1398.                 When  exiting,     Sedt  prints  a  message
  1399.                 informing  the    operator  that    it  is    a
  1400.                 shareware program.
  1401.     
  1402.             SHAREMESSAGE=OFF
  1403.     
  1404.                 Suppresses the shareware message on exit.
  1405.  
  1406.     2.3.1.27    SYSTEM=IBMPC
  1407.  
  1408.                 Forces Sedt to    assume    that it's running
  1409.                 on an IBM PC or compatible.
  1410.  
  1411.             SYSTEM=IBMXT
  1412.  
  1413.                 Forces Sedt to assume  that  it's running
  1414.                 on an IBM PC/XT or compatible.
  1415.  
  1416.             SYSTEM=IBMAT
  1417.  
  1418.                 Forces Sedt to assume that  it's  running
  1419.                 on an IBM PC/AT or compatible.
  1420.  
  1421.             SYSTEM=VAXMATE
  1422.  
  1423.                 Forces    Sedt to assume that it's  running
  1424.                 on a Digital VAXmate.
  1425.  
  1426.             SYSTEM=PC100
  1427.  
  1428.                 Forces    Sedt  to assume that it's running
  1429.                 on a Digital Rainbow 100.
  1430.  
  1431.             SYSTEM=IBMCONVERTIBLE
  1432.  
  1433.                 Forces    Sedt  to assume that it's running
  1434.                 on an IBM Convertible.
  1435.  
  1436.             SYSTEM=IBMAT-339
  1437.  
  1438.                 Forces Sedt  to  assume that it's running
  1439.                 on an IBM PC AT model 339.
  1440.  
  1441.             SYSTEM=IBMXT-286
  1442.  
  1443.                 Forces Sedt to    assume    that it's running
  1444.                 on an IBM PC XT model 286.
  1445.  
  1446.             SYSTEM=PS/2-50
  1447.  
  1448.                 Forces Sedt to assume  that  it's running
  1449.                 on an IBM PS/2 model 50.
  1450.  
  1451.             SYSTEM=PS/2-60
  1452.  
  1453.                 Forces Sedt to assume that  it's  running
  1454.                 on an IBM PS/2 model 60.
  1455.  
  1456.             SYSTEM=IBMXT-II
  1457.  
  1458.                 Forces    Sedt to assume that it's  running
  1459.                 on an IBM XT with new firmware.
  1460.  
  1461.             SYSTEM=PS/2-30
  1462.  
  1463.                 Forces    Sedt  to assume that it's running
  1464.                 on an IBM PS/2 model 30.
  1465.  
  1466.             SYSTEM=PS/2-80
  1467.  
  1468.                 Forces    Sedt  to assume that it's running
  1469.                 on an IBM PS/2 model 80.
  1470.  
  1471.             SYSTEM=TANDY1400
  1472.  
  1473.                 Forces    Sedt  to assume that it's running
  1474.                 on a TANDY 1400 LT laptop computer.
  1475.     
  1476.             SYSTEM=VT100
  1477.             SYSTEM=VT200
  1478.             SYSTEM=VT300
  1479.             SYSTEM=VT52
  1480.             SYSTEM=VK100
  1481.             SYSTEM=ANSI
  1482.     
  1483.                 Forces Sedt  to  assume  it  is being run
  1484.                 from the specified terminal type.
  1485.  
  1486.     2.3.1.28    TABS=EXPANDED (Default)
  1487.  
  1488.                 Causes Sedt  to  use  space characters to
  1489.                 space to tab stops and indentation.
  1490.  
  1491.             TABS=INSERTED
  1492.  
  1493.                 Cases  Sedt  to    use      space  and  tab
  1494.                 characters  to    space to  tab  stops  and
  1495.                 indentation.
  1496.  
  1497.     2.3.1.29    VIDEO=BIOS (Default)
  1498.  
  1499.                 Makes  Sedt  use  BIOS    calls  for  video
  1500.                 control on IBM PCs and compatibles.
  1501.  
  1502.             VIDEO=DIRECT
  1503.  
  1504.                 Makes  Sedt access video RAM directly  on
  1505.                 IBM PCs and compatibles.
  1506.  
  1507.  
  1508.     2.4             Initialization
  1509.  
  1510.         The initialization sequence for Sedt will  go through the
  1511.     following steps:
  1512.  
  1513.             First the configuration file SEDT.CNF  in  Sedt's
  1514.         library is read and Sedt is  configured  as  described in
  1515.         the file.
  1516.  
  1517.             Then a    default  ruler    file  is read from Sedt's
  1518.         library.    The   name    of  the  default  ruler  file  is
  1519.         RULER0.TXT.
  1520.     
  1521.         On  DOS,  OS/2,  Microsoft  Windows  and  ATARI ST a  key
  1522.         mapping file is read next.  This file translates keyboard
  1523.         scan codes into function key codes. The file names are:
  1524.  
  1525.             System        Keyboard    File
  1526.  
  1527.             Rainbow     LK201        RBxxxM.yyy
  1528.             IBM PC        IBM        PCxxxM.yyy
  1529.             IBM PC/XT    IBM        PCxxxM.yyy
  1530.             IBM PC/AT    IBM        ATxxxM.yyy
  1531.             IBM CONVERTIBLE IBM        CVxxxM.yyy
  1532.             PS/2        IBM        NPxxxM.yyy
  1533.             ANY IBM PC    ENHANCED    NPxxxM.yyy
  1534.             ANY IBM PC    LK250        LKxxxM.yyy
  1535.             TANDY 1400 LT    TANDY        TCxxxM.yyy
  1536.             Compaq SLT    Compact     SLTxxxM.yyy
  1537.             ATARI ST            STxxxM.yyy
  1538.     
  1539.             Where yyy  is  EDT  for EDT style mapping and WPS
  1540.         for WPS style mapping.
  1541.     
  1542.             Next, the key definition file is read from Sedt's
  1543.         library.   The name of the key definition file depends on
  1544.         the system that Sedt is run on:
  1545.  
  1546.             System        Keyboard    File
  1547.  
  1548.             MS/DOS                KEYDEF.yyy
  1549.             Microsoft Windows        KEYDEF.yyy
  1550.             OS/2                KEYDEF.yyy
  1551.             ATARI ST            KEYDEF.yyy
  1552.             VAX        VT100        SEDT$VT100KEYS:
  1553.             VAX        VT200        SEDT$VT200KEYS:
  1554.             UNIX        VT100        vt100.key
  1555.             UNIX        VT200        vt200.key
  1556.             SCO XENIX    console     ansi.key
  1557.  
  1558.             Where yyy  is  EDT  for EDT style mapping and WPS
  1559.         for WPS style mapping.
  1560.     
  1561.             Next Sedt will position the cursor  at    the  line
  1562.         number requested in the command  line if a -<line number>
  1563.         qualifier was supplied.
  1564.  
  1565.             Then Sedt  will look in Sedt's library for a file
  1566.         containing initialization commands  for the editor.  If a
  1567.         file  is  found it's  contents    will  be  interpreted  as
  1568.         internal Sedt commands.  The  name  of the file is system
  1569.         dependent:
  1570.  
  1571.             System        File
  1572.  
  1573.             Rainbow     SEDTCOM.TXT
  1574.             IBM PC        SEDTCOM.TXT
  1575.             IBM PC/XT    SEDTCOM.TXT
  1576.             IBM PC/AT    SEDTCOM.TXT
  1577.             IBM CONVERTIBLE SEDTCOM.TXT
  1578.             PS/2        SEDTCOM.TXT
  1579.             VAX        SEDT$COMMANDS:
  1580.             VAX        SEDT$COMMANDS:
  1581.             ATARI ST    SEDTCOM.TXT
  1582.             UNIX        SEDTCOM.TXT
  1583.  
  1584.             Finally, Sedt  will look for a checkpoint file in
  1585.         the same directory  as    the file you are editing and with
  1586.         the same name except  for  the extension .AUS.    If one is
  1587.         found, Sedt will ask you whether you  want  to    load  the
  1588.         checkpoint file instead.
  1589.  
  1590.     2.5              Setting up the ruler
  1591.  
  1592.         Sedt offers  several options for formatting the text that
  1593.     you input.   The  current formatting options are displayed on the
  1594.     ruler line on the second line of the display.
  1595.  
  1596.         The initial contents of  the  ruler line are defined by a
  1597.     file in the standard directory for Sedt.   When Sedt is called it
  1598.     reads the contents of the file RULER0.TXT and  loads the contents
  1599.     into the ruler.
  1600.  
  1601.         You can change the ruler either by loading a  ruler  file
  1602.     or by changing it interactively.   Most ruler changes are done by
  1603.     entering RULER MODE by typing <Gold> R, which takes the cursor up
  1604.     into the ruler line.  When you have  finished  changing the ruler
  1605.     type <Return>, which will take you back to normal editing mode.
  1606.  
  1607.         The following commands are valid in ruler mode:
  1608.  
  1609.         <Right Arrow>    Moves the cursor one column to the right.
  1610.  
  1611.         <Left Arrow>    Moves the cursor one column to the left.
  1612.  
  1613.         <Gold> <Digit>    Saves  the  current    ruler   in  Sedt's
  1614.                 standard    directory  in  a  file  named
  1615.                 RULER<Digit>.TXT.
  1616.  
  1617.         <Digit>     Loads  a saved ruler from Sedt's standard
  1618.                 directory    in        a    file    named
  1619.                 RULER<Digit>.TXT.
  1620.  
  1621.         <Control> H
  1622.                 Moves the  cursor  to column one.
  1623.  
  1624.         <Tab>        Moves  the cursor to the  next    non-blank
  1625.                 position on the ruler.
  1626.  
  1627.         <Return>    Exits ruler mode.
  1628.  
  1629.         <Space>     Clears any ruler controls at the  current
  1630.                 cursor position.
  1631.  
  1632.         L        Sets  the  left  margin  at  the  current
  1633.                 cursor    position.
  1634.  
  1635.                 When  a  <Return>  is entered the  cursor
  1636.                 will be indented to the left margin.
  1637.  
  1638.         W        Sets the word wrap  at the current cursor
  1639.                 position.
  1640.  
  1641.                 When input is typed to the right  of  the
  1642.                 right margin or the justification column,
  1643.                 the input will be wrapped and indented to
  1644.                 the  word wrap column or automatic margin
  1645.                 column.
  1646.  
  1647.         R        Sets  the  right  margin at  the  current
  1648.                 cursor position.
  1649.  
  1650.                 If any input is typed to the right of the
  1651.                 right margin the text will be wrapped and
  1652.                 indented  to  the  word  wrap  column  or
  1653.                 automatic margin column.
  1654.  
  1655.         J        Sets  the  justification  column  at  the
  1656.                 current cursor position.
  1657.  
  1658.                 If any input is typed to the right of the
  1659.                 justification  column,    the  text will be
  1660.                 justified by  having  the spacing between
  1661.                 words  on  the     line  modified  until    a
  1662.                 straight    right    margin    at     the
  1663.                 justification  column  is achieved.   Any
  1664.                 text  that cannot fit on the current line
  1665.                 is wrapped  to the next line and indented
  1666.                 to the word  wrap column or the automatic
  1667.                 margin column.
  1668.  
  1669.         I        Sets the indentation level at the current
  1670.                 cursor position.
  1671.  
  1672.                 If a <Tab> is  entered to the left of the
  1673.                 indentation  column,  the cursor will  be
  1674.                 advanced  to the indentation column.
  1675.  
  1676.         T        Sets  a  tab  stop  at the current cursor
  1677.                 position.   Tab  stops can only be set up
  1678.                 to  column  232,  they    are  fixed  at    8
  1679.                 character intervals beyond that.
  1680.  
  1681.                 If a <Tab> is entered to  the  left  of a
  1682.                 tab  stop the cursor will be advanced  to
  1683.                 the tab stop.
  1684.  
  1685.         A        Sets the  automatic margin at the current
  1686.                 cursor position.
  1687.  
  1688.                 When  text  is    wrapped  by typing to the
  1689.                 right     of  the    right    margin    or
  1690.                 justification  column, or a  <Return>  is
  1691.                 typed and the automatic margin is active,
  1692.                 the cursor will be advanced to    the  same
  1693.                 column    as    the    leftmost    printable
  1694.                 character on the  line    the cursor was on
  1695.                 before    the  character was  typed.    The
  1696.                 automatic  margin will also be    moved  to
  1697.                 this  position.    This  feature is  most
  1698.                 useful for structured programming.
  1699.  
  1700.         -        Clears tab stops  at  the  current cursor
  1701.                 position.
  1702.  
  1703.         Some  of  the tab controls  are  mutually  exclusive  and
  1704.     setting one of these will automatically cancel those options that
  1705.     it excludes. The following options are mutually exclusive:
  1706.  
  1707.         A and W
  1708.  
  1709.         R and J
  1710.  
  1711.         If several option are set at the  same    column    the ruler
  1712.     will only display one of them.
  1713.  
  1714.         To cancel an option  other  than  T,  place the cursor on
  1715.     column 1 and type the option.  The only exception to this rule is
  1716.     A.  This can only be canceled by typing R in any position.
  1717.  
  1718.         Saved rulers allow you to  set    up  to 10 different ruler
  1719.     settings according to your preference.     You can change the ruler
  1720.     that Sedt  loads  after start-up by saving the setting you desire
  1721.     in ruler number 0.
  1722.  
  1723.     Example rulers:
  1724.  
  1725.         A    T    T    T    T ...
  1726.  
  1727.             This ruler  is    most  convenient  for  structured
  1728.         programming.  Every  time  a  return is entered Sedt will
  1729.         indent to the left  margin  of    the line just terminated.
  1730.  
  1731.         W    L    T    T    R ...
  1732.  
  1733.             Every time a return is entered the cursor will be
  1734.         indented to the position of the  L  on    the  ruler  line.
  1735.         When text is typed to the right  of  R    the  line will be
  1736.         wrapped to the left margin.
  1737.  
  1738.         I    L    W    T    J ...
  1739.  
  1740.             This ruler will cause text to be filled between W
  1741.         and  J.    When  a return is entered the cursor  will  be
  1742.         indented to the L.
  1743.  
  1744.     2.6              Options/Modes
  1745.  
  1746.         The bottom line of the display shows the state of several
  1747.     options that affect  how Sedt commands work.  Each of these has a
  1748.     default state.
  1749.  
  1750.     Forward/Reverse (default:Forward)
  1751.  
  1752.             Most cursor commands move  in the direction shown
  1753.         by the direction state.
  1754.  
  1755.             To  change the direction state type <Keypad 4> or
  1756.         <Keypad 5>.
  1757.  
  1758.     Insert/Overstrike (default:Insert)
  1759.  
  1760.             When  text is inserted in insert mode  it  pushes
  1761.         any characters at or to the right of  the  cursor  to the
  1762.         right  to  make  room  for the text being inserted.    In
  1763.         replace mode text  originally  at  the cursor position is
  1764.         overwritten.
  1765.  
  1766.             To change the state between insert and overstrike
  1767.         modes type <Gold> O.
  1768.  
  1769.     Line/Block (Default:Line)
  1770.  
  1771.             This  state  only  has    effect    when  cutting  or
  1772.         pasting text.
  1773.  
  1774.             In line mode  a  cut will remove all text between
  1775.         the select point and  the  cursor  position,  and a paste
  1776.         will  insert the contents of  the  paste  buffer  at  the
  1777.         cursor position.
  1778.  
  1779.             In block mode a cut will remove the  rectangle of
  1780.         text defined by the select point and the cursor  position
  1781.         and a paste will push all text from the cursor    column to
  1782.         the  right  to    make  room  for the contents of the paste
  1783.         buffer.
  1784.  
  1785.             To change between line and block mode type <Gold>
  1786.         L.
  1787.  
  1788.     Tabs:Expanded/Tabs:Inserted (Default:Tabs:Expanded)
  1789.  
  1790.             When tabs are expanded Sedt will always use ASCII
  1791.         Space characters to indent text.  When tabs  are inserted
  1792.         Sedt  will  use  ASCII    HT and Space characters.   It  is
  1793.         recommended that the state be left as tabs expanded.
  1794.  
  1795.             To change the tab mode type <Gold> I.
  1796.  
  1797.     Screen Shift=<Number>/Screen Shift=Off (Default:Screen Shift=0)
  1798.  
  1799.             If screen shift is  off  the  leftmost    character
  1800.         position  on the screen will  always  correspond  to  the
  1801.         first column of the text file.
  1802.  
  1803.             If screen shift shows a number,  Sedt  will  keep
  1804.         the  cursor  within  the visible screen by  shifting  the
  1805.         screen    horizontally through the file.    The number  shown
  1806.         is  the  number  of  columns  hidden to the left  of  the
  1807.         screen. This process is totally automatic.
  1808.  
  1809.             To change the screen shift mode type <Gold> A.
  1810.  
  1811.     Learning/Executing
  1812.  
  1813.             The Learning  mode  indicator  shows that Sedt is
  1814.         storing all keyboard input for later reexecution.
  1815.  
  1816.             <Gold> F17>  will  store  learned keystrokes into
  1817.         ^Z.   Terminate  learning  by  typing  ^Z.    The  stored
  1818.         keystrokes are executed by typing ^Z again.
  1819.  
  1820.             <Gold>    <F18> will prompt  for    a  key    to  store
  1821.         keystrokes in and then store  subsequent keystrokes until
  1822.         the same key is typed.     To execute the stored keystrokes
  1823.         type the key you stored them in.
  1824.  
  1825.             The Executing mode  indicator  shows that Sedt is
  1826.         reexecuting a stored sequence of keystrokes.
  1827.  
  1828.             Execute mode is entered by typing <Gold> <F18>
  1829.  
  1830.     2.7             Responding to Prompts
  1831.  
  1832.         Some  commands,  such  as  the    search    command,  require
  1833.     arguments.  Such commands will    write a prompt on the bottom line
  1834.     of the screen and wait for you to  enter  a  response.      You can
  1835.     enter the following when responding to a prompt:
  1836.  
  1837.         Any key on  the  typewriter keyboard will be entered into
  1838.             the prompt string at the cursor position.
  1839.  
  1840.         <Control> U
  1841.             Will abort the command.
  1842.  
  1843.         <Return>
  1844.         <Keypad Enter>
  1845.         <Do>
  1846.             Completes the response to the prompt.
  1847.  
  1848.         <Delete>
  1849.         <Backspace>
  1850.             Deletes the character behind the cursor.
  1851.  
  1852.         <Gold> <Return>
  1853.             Inserts a CR/LF pair in the prompt buffer.
  1854.  
  1855.         <Left Arrow>
  1856.             Moves the cursor one character left.
  1857.  
  1858.         <Right Arrow>
  1859.             Moves the cursor one character right.
  1860.  
  1861.         <Up Arrow>
  1862.             If typed before  any  other character will recall
  1863.             the previous  response    to  a prompt.  Successive
  1864.             <Up  Arrow>s  will   move  through  the  last  10
  1865.             responses.
  1866.  
  1867.         <Down Arrow>
  1868.             If <Up Arrow> has  recalled  previous  responses,
  1869.             <Down Arrow> will move forward    towards  the last
  1870.             response.
  1871.  
  1872.         Other control characters will be  inserted  at the cursor
  1873.             position.
  1874.  
  1875.         Function keys will insert the programming  of the keys at
  1876.             the cursor.
  1877.     
  1878.         A  special  prompt   is  used  to  confirm  actions  that
  1879.     potentially may cause significant losses of data such as quitting
  1880.     an edit session without saving all changes.  These prompts pose a
  1881.     question, followed by <Y/N>:.  Responses  to these prompts may be
  1882.     a y or Y to confirm, a    n or N affirm or <control> U to abort the
  1883.     command that generated the question.
  1884.  
  1885.     2.8               Repeating Commands
  1886.  
  1887.         Most commands can be repeated by  typing first <Gold> and
  1888.     then the number of times you want  the    command  repeated  on the
  1889.     normal typewriter keyboard before typing the command.
  1890.  
  1891.         A few  commands do not accept such a repeat count, either
  1892.     because it makes  no  sense,  or  because  the number is used for
  1893.     other purposes.
  1894.  
  1895.         As  you  type the number it will be shown on the  message
  1896.     line of the display.
  1897.  
  1898.         If  you  happen  to mistype the number you can delete  it
  1899.     digit by digit with the <Delete> key.
  1900.  
  1901.     2.9            Cursor Movement
  1902.  
  1903.         Cursor movement commands  come    in  two  flavors.    Some
  1904.     take the direction of  movement from the direction flag, which is
  1905.     displayed in the first field  of  the  mode  line, whereas others
  1906.     always move  in  a  fixed direction.  The direction determined by
  1907.     the direction flag is called the DEFAULT DIRECTION.
  1908.  
  1909.         The  direction    flag  is controlled  with  the    following
  1910.     commands:
  1911.  
  1912.         <Gold> +
  1913.         <Gold> >
  1914.         <Keypad 4>
  1915.             Set the direction  flag  to  forward:  toward the
  1916.             end  of the text  in  the  buffer.    <Keypad  4>
  1917.             changes the direction permanently.   <Gold> + and
  1918.             <Gold> > only changes it for the next command.
  1919.  
  1920.         <Gold> -
  1921.         <Gold> <
  1922.         <Keypad 5>
  1923.             Set the direction flag to reverse:    toward  the
  1924.             beginning of the text in the buffer.   <Keypad 5>
  1925.             changes  the direction permanently.  <Gold> - and
  1926.             <Gold> < only changes it for the next command.
  1927.  
  1928.         Most movement commands    can  be repeated by typing <Gold>
  1929.     and then typing the number of times you want the command repeated
  1930.     immediately  before you type the command.   The  number  must  be
  1931.     typed on the normal typewriter keyboard.
  1932.  
  1933.         Commands that move the cursor are:
  1934.  
  1935.         <Gold> .
  1936.             Moves the cursor to a previously set mark.  There
  1937.             are 9 different marks that you    can set.  To move
  1938.             to mark number 1 type <Gold> .    .  To move to any
  1939.             of  the  other marks type <Gold> followed by  the
  1940.             number    of  the  mark  (1  to  9)  on the  normal
  1941.             typewriter keyboard  and  then <Gold> .  .  Marks
  1942.             are useful for    jumping  back  and  forth between
  1943.             different points in the buffer.
  1944.  
  1945.         <Gold> B
  1946.         <Gold> <Keypad 4>
  1947.             Moves  the  cursor to the position just after the
  1948.             last character of text in the buffer.
  1949.  
  1950.  
  1951.         <Gold> M
  1952.             Sets  a  mark  at  the current    position  of  the
  1953.             cursor.  To set mark number 1  type <Gold> M.  To
  1954.             set other marks (1 to 9) type <Gold>  followed by
  1955.             the  number  of the mark on the normal typewriter
  1956.             keyboard and then <Gold> M.
  1957.  
  1958.         <Gold> T
  1959.         <Gold> <Keypad 5>
  1960.             Moves  the  cursor  to the first character in the
  1961.             buffer.
  1962.  
  1963.         <Gold> U
  1964.             If you    type  <Gold> U as the first input after a
  1965.             movement command the cursor will be moved back to
  1966.             the  position  it  was    at before the move.  This
  1967.             command is  very  useful to undo undesired moves.
  1968.             Several commands that  delete  text  can  also be
  1969.             undone with <Gold> U.  If the last command cannot
  1970.             be undone you will receive an error message.
  1971.  
  1972.         <Control> H
  1973.             Will move the cursor to the  beginning of a line.
  1974.             If the cursor already is at the  beginning  of    a
  1975.             line  it  will be moved to the beginning  of  the
  1976.             previous line.
  1977.  
  1978.         <Find>
  1979.         <PF3>
  1980.             Will  search  in  the default direction  for  the
  1981.             string given in the last <Gold> <Find>    or <Gold>
  1982.             <Keypad  9>  command.     The  <Find>  command  is
  1983.             insensitive to the case of the string.
  1984.  
  1985.         <Prev Screen>
  1986.             Moves up by one fewer lines than there are in the
  1987.             window.  The cursor is positioned at the start of
  1988.             the line.
  1989.  
  1990.         <Next Screen>
  1991.             Moves  down  by one fewer lines than there are in
  1992.             the window.   The  cursor  is  positioned  at the
  1993.             start of the line.
  1994.  
  1995.         <Up Arrow>
  1996.             Moves one line up and tries to keep the cursor at
  1997.             the same column as it was at before a sequence of
  1998.             up and down arrow moves.
  1999.  
  2000.         <Left Arrow>
  2001.             Moves one character backward.
  2002.  
  2003.         <Down Arrow>
  2004.             Moves  one line down and tries to keep the cursor
  2005.             at the same column as it was at before a sequence
  2006.             of up and down arrow moves.
  2007.  
  2008.         <Right Arrow>
  2009.             Moves one character forward.
  2010.  
  2011.         <Keypad 0>
  2012.             Moves  in  the    default  direction  to    the  next
  2013.             beginning of line.
  2014.  
  2015.         <Keypad 1>
  2016.             Moves  in  the    default  direction  to    the  next
  2017.             beginning  of  a word.    Spaces before a word  are
  2018.             skipped.    A     word     is    either    a  single
  2019.             non-alphanumeric character or a  word composed of
  2020.             alphanumeric characters.
  2021.  
  2022.         <Keypad 2>
  2023.             Moves in the default direction to the next end of
  2024.             line.  If the cursor already is at the    end  of a
  2025.             line it will move to the end of the next line.
  2026.  
  2027.         <Keypad 3>
  2028.             Moves one character in the default direction.
  2029.  
  2030.         <Keypad 7>
  2031.             Moves  in the default direction to the next start
  2032.             of page.    The start of page is determined by an
  2033.             ASCII FF character (Which is inserted with <Gold>
  2034.             P).  If there are no more ASCII FF characters the
  2035.             cursor will be moved to the end of the buffer.
  2036.  
  2037.         <Keypad 8>
  2038.             Moves in the default direction    to the next start
  2039.             of a paragraph.  Paragraphs are  delimited  by    a
  2040.             minimum of one empty line.   The cursor is placed
  2041.             over  the  first  non-blank  character    in    the
  2042.             paragraph.
  2043.  
  2044.         <Gold> <F19>
  2045.             Moves  to  bracketing character that matches  the
  2046.             one under the cursor.  Matching characters are ',
  2047.             ", <, >, [, ], {, }, (,  and  ).    '  and  " are
  2048.             searched  for in the current direction, all other
  2049.             characters are searched for in the direction that
  2050.             the  character    implies.    If    the cursor is not
  2051.             placed over  one of the above characters an error
  2052.             message will be displayed.
  2053.  
  2054.         <Gold Find>
  2055.         <Gold> <PF3>
  2056.             Prompts for  a    string    on the bottom line of the
  2057.             display    and     then  searches  in  the  default
  2058.             direction for  an  occurrence of the string.  The
  2059.             search    is  independent    of  the  case  of  any
  2060.             alphabetic characters in the string.  If an empty
  2061.             response  is  given  to  the  prompt  the  string
  2062.             entered in response to the last  <Gold> <Find> or
  2063.             <Gold> <Keypad 9> will be used.
  2064.  
  2065.         <Gold> <Left Arrow>
  2066.             Moves continuously backward  through  the  buffer
  2067.             until the beginning of the buffer is reached or a
  2068.             command is typed.
  2069.  
  2070.         <Gold> <Right Arrow>
  2071.             Moves  continuously  forward  through the  buffer
  2072.             until the end of buffer is  reached  or a command
  2073.             is typed.
  2074.  
  2075.     2.10             Text Insertion
  2076.  
  2077.         All insertion  happens    at  the  the cursor position.  To
  2078.     insert at a  different    position  from the one you see the cursor
  2079.     flashing at you have  to  move    the  cursor there first.  See the
  2080.     section on cursor movement for directions on how to move around.
  2081.  
  2082.         The regular typewriter keys will cause    the  character on
  2083.     the key to be inserted in the  file  you  are  editing.   If your
  2084.     keyboard  has been programmed for a national character    set  Sedt
  2085.     will use that programming.
  2086.  
  2087.         A number of other keys will also cause text insertion:
  2088.  
  2089.         <Tab>    The cursor will be advanced to the next tab  stop
  2090.             on the    ruler  by  inserting  spaces  or ASCII HT
  2091.             characters.  If  the mode is set to Tabs:Expanded
  2092.             only   space  characters  will      be    inserted.
  2093.             Otherwise  a  mixture of HT and space  characters
  2094.             will be used.
  2095.  
  2096.             If  an    indentation  point has been set  and  the
  2097.             cursor is to the left of it it    will  space  over
  2098.             intermediate tab stops to the indentation point.
  2099.  
  2100.         <Return>
  2101.             A new line will be started at the cursor position
  2102.             and the  cursor will be advanced according to the
  2103.             following rules:
  2104.  
  2105.             If an A  is  shown  on    the ruler line the cursor
  2106.             will  be advanced to  the  column  of  the  first
  2107.             printable character on the line just terminated.
  2108.  
  2109.             If an L is shown  on  the  ruler  line the cursor
  2110.             will be advanced to the column shown by the L.
  2111.  
  2112.             The  cursor is advanced by  inserting  space  and
  2113.             ASCII  HT  characters.    If the    mode  is  set  to
  2114.             Tabs:Expanded    only  space  characters  will  be
  2115.             inserted.
  2116.  
  2117.         <Escape>
  2118.         <F11>
  2119.             Inserts an ASCII ESC character.
  2120.  
  2121.         <Gold> <Control> I
  2122.             Prompts for a key and will  insert the definition
  2123.             of the key into the file at  the  current  cursor
  2124.             position.  The key can be a function key, control
  2125.             character, gold function key, gold control key or
  2126.             gold character from the typewriter keyboard.
  2127.  
  2128.         <Gold> G
  2129.             Prompts for a file name and includes the contents
  2130.             of the file at the cursor position.
  2131.  
  2132.         <Gold> P
  2133.             Inserts an ASCII FF character, which starts a new
  2134.             page.
  2135.  
  2136.         <Insert Here>
  2137.         <Gold> <Keypad 6>
  2138.             Inserts the  contents  of the paste buffer at the
  2139.             current cursor position.
  2140.  
  2141.         <Gold> <Keypad 0>
  2142.             Inserts a  new    line  at  the cursor position and
  2143.             does not advance  the  cursor.
  2144.  
  2145.         <Gold> <Keypad 3>
  2146.             Allows insertion of an arbitrary ASCII character.
  2147.             Type <Gold> followed by the decimal value of  the
  2148.             character  (typed  on     the  regular  typewriter
  2149.             keyboard) followed by <Gold>  <Keypad  3>.    You
  2150.             cannot enter a newline character (ASCII LF) using
  2151.             this method.
  2152.  
  2153.         <Gold> <Keypad ,>
  2154.             Inserts the last deleted character at  the cursor
  2155.             position.
  2156.  
  2157.         <Gold> <Keypad ->
  2158.             Inserts  the  last  deleted  word  at the  cursor
  2159.             position.
  2160.  
  2161.         <Gold> <PF4>
  2162.             Inserts  the  last  deleted  line  at  the cursor
  2163.             position.
  2164.  
  2165.     2.11             Selecting Text Ranges
  2166.  
  2167.         Several  commands  operate with a selected region.    The
  2168.     following  commands  are  used to select an arbitrary  region  of
  2169.     text.  Whenever a region of text is selected it will be displayed
  2170.     in reverse video on the screen.
  2171.  
  2172.         <Select>
  2173.         <Keypad .>
  2174.             Anchors the  cursor  position  as  one    end  of a
  2175.             selected region.   When  the  cursor  is moved in
  2176.             front of the select  point the select region will
  2177.             be all characters from the select point up to the
  2178.             character behind the cursor.  When  the cursor is
  2179.             moved behind the select point the region  will be
  2180.             all    characters  from  the  cursor  up  to  the
  2181.             character behind the select point.
  2182.  
  2183.         <Gold> <Select>
  2184.         <Gold> <Keypad .>
  2185.             Cancels the select region.
  2186.  
  2187.     2.12             Deleting Text
  2188.  
  2189.         <Linefeed>
  2190.         <Control> J
  2191.         <F13>
  2192.             Deletes  from  the  character  behind  the cursor
  2193.             position  back    to the previous start of a  word.
  2194.             The deleted text can be retrieved with the <Gold>
  2195.             <Keypad -> command.
  2196.  
  2197.         <Control> U
  2198.             Deletes  from  the character  behind  the  cursor
  2199.             position back  to the beginning of the line.  The
  2200.             deleted text can  be  retrieved  with  the <Gold>
  2201.             <PF4> command.
  2202.  
  2203.         <Delete>
  2204.         <Backspace>
  2205.             Deletes the character behind the cursor position.
  2206.             The deleted character can  be  retrieved with the
  2207.             <Gold> <Keypad ,> command.
  2208.  
  2209.         <Gold> Z
  2210.             Clears the contents of the  buffer.  The previous
  2211.             contents cannot be retrieved.
  2212.  
  2213.         <F4>
  2214.             Appends the contents of the selected  text  range
  2215.             to the paste buffer.  The selected  text range is
  2216.             not deleted from the buffer.
  2217.  
  2218.         <Remove>
  2219.         <Keypad 6>
  2220.             Removes  the  selected text range from the buffer
  2221.             and inserts it in the paste buffer.
  2222.  
  2223.         <Keypad ,>
  2224.             Deletes the  character    at  the  cursor position.
  2225.             The character can  be  retrieved  with the <Gold>
  2226.             <Keypad ,> command.
  2227.  
  2228.         <Keypad ->
  2229.             Deletes from the cursor  position up the the next
  2230.             start  of  a  word.   The  deleted  text  can  be
  2231.             retrieved with the <Gold> <Keypad -> command.
  2232.  
  2233.         <PF4>
  2234.             Deletes from the cursor position through the line
  2235.             end.  The deleted text    can be retrieved with the
  2236.             <Gold> <PF4> command.
  2237.  
  2238.         <Gold> <Remove>
  2239.             Copies    from  the  selected  text  range into the
  2240.             paste buffer without deleting from the buffer.
  2241.  
  2242.         <Gold> <Keypad 2>
  2243.             Deletes from the cursor position up to the end of
  2244.             the line.  The deleted text can be retrieved with
  2245.             the <Gold> <PF4> command.
  2246.  
  2247.     2.13              Substitution
  2248.  
  2249.         <Keypad 9>
  2250.             Searches  in    the   current  direction  for  an
  2251.             occurrence of the  last  search string given and,
  2252.             if the string is found, replaces it with the last
  2253.             replace string given.  The  Search  string is set
  2254.             with  the  <Gold>  <PF3>  or  <Gold>  <Keypad  9>
  2255.             commands.    The replace string is set    with  the
  2256.             <Gold> <Keypad 9> command.
  2257.  
  2258.         <Gold> <Keypad 9>
  2259.             Prompts for a search and  a  replace  string  and
  2260.             then  searches    in  the  current direction for an
  2261.             occurrence  of    the search string and , if it  is
  2262.             found, replaces  it  with the replace string.  If
  2263.             an empty response  is given to any of the prompts
  2264.             the previous value of the string will be used.
  2265.  
  2266.     2.14              Windows and Buffers
  2267.  
  2268.         Sedt allows you to edit up to 4  different  files  at the
  2269.     same time.  At any given moment you can choose between having one
  2270.     or two of these displayed on the screen.  The  following commands
  2271.     allow  you  to    switch between the four files and change the  way
  2272.     they are displayed.
  2273.  
  2274.         Each of the 4 files you  can  edit  are held in a buffer.
  2275.     The current buffer, which all commands operate on, is the one you
  2276.     see on the screen when a single window is  displayed,  or the one
  2277.     shown in the top window when two are displayed.
  2278.  
  2279.         <Gold> <Up Arrow>
  2280.             Scrolls the  display  so  that    the line with the
  2281.             cursor is on  the  second  line  of  the display.
  2282.             This command has no effect if the operation would
  2283.             place the first  line of the file below the first
  2284.             line of the display.
  2285.  
  2286.         <Gold> <Down Arrow>
  2287.             Scrolls the  display  so  that    the line with the
  2288.             cursor    is  on the second last    of  the  display.
  2289.             This command has no effect if the operation would
  2290.             place the first  line of the file below the first
  2291.             line of the display.
  2292.  
  2293.         <Gold> D
  2294.             Toggles between displaying one or  two    files  on
  2295.             the  screen.    When two files are displayed  the
  2296.             screen    will  be  split horizontally with the two
  2297.             files shown  one  above  the  other.
  2298.  
  2299.         <Gold> E
  2300.             Prompts  for  a  file  name to be loaded into the
  2301.             current buffer.    The    original  contents of the
  2302.             buffer are discarded.     You  will,  however,  be
  2303.             given a chance to  save  the original contents of
  2304.             the buffer if it has been modified.
  2305.  
  2306.         <Gold> F
  2307.         <F10>
  2308.             Saves the contents of  the  current  buffer.  All
  2309.             other    than  ATARI  GEM  and  Microsoft  Windows
  2310.             versions  will    terminate  the edit session if no
  2311.             unmodified buffers  exist,  or    ask  whether  you
  2312.             intend to terminate if there are unsaved changes.
  2313.  
  2314.         <Gold> Q
  2315.         <F8>
  2316.             Terminates  execution  of Sedt without saving any
  2317.             buffers.   You    will be asked to confirm that you
  2318.             really intend to  quit    if  any buffers have been
  2319.             modified.  On  ATARI  GEM  and    Microsoft Windows
  2320.             versions only the current  window  will be closed
  2321.             and Sedt will terminate when  the  last window is
  2322.             closed.  Advanced Guide
  2323.  
  2324.  
  2325.         <Gold> S
  2326.             Prompts for a file name and then saves the buffer
  2327.             into the file.    The file name associated with the
  2328.             buffer will be changed to the new file.
  2329.  
  2330.         <Gold> X
  2331.             Switches to the previously selected buffer.    If
  2332.             no other buffer has been selected it  will switch
  2333.             to buffer 1.
  2334.  
  2335.         <F6>
  2336.             Saves the contents of the current buffer into the
  2337.             file associated with it.  The save is not done if
  2338.             no modifications have been made.
  2339.  
  2340.         <F17>
  2341.             Selects buffer number 0.
  2342.  
  2343.         <F18>
  2344.             Selects buffer number 1.
  2345.  
  2346.         <F19>
  2347.             Selects buffer number 2.
  2348.  
  2349.         <F20>
  2350.             Selects buffer number 3.
  2351.  
  2352.     2.15            Text Formatting
  2353.  
  2354.         <Control> A
  2355.             Sets  the  indentation level to the column number
  2356.             that the cursor  is  at.    Typing <Tab> when the
  2357.             cursor is to the  left    of  the indentation level
  2358.             will insert space characters to  bring the cursor
  2359.             up to the indentation level.
  2360.  
  2361.         <Control> D
  2362.             Decreases the indentation level by one column.
  2363.  
  2364.         <Control> E
  2365.             Increases the indentation level by one column.
  2366.  
  2367.         <Control> T
  2368.             Adjusts all text within the select  range  by one
  2369.             tab stop.  <Control> T will move the select range
  2370.             right  if the direction flag is forward and  left
  2371.             if  the  direction  flag  is  reverse.     <Gold> -
  2372.             <Control> T  will  always  move  a tab stop left.
  2373.             <Gold> + <Control>  T will always move a tab stop
  2374.             right.
  2375.  
  2376.         <Gold> C
  2377.             Centers the line containing  the  cursor  between
  2378.             the left (L on the  ruler line) and right (R or J
  2379.             on the ruler line) margins.
  2380.  
  2381.         <Gold> J
  2382.             Reformats from the previous beginning of  line to
  2383.             the  end of the current paragraph.   Reformatting
  2384.             requires that a right margin has been set  on the
  2385.             ruler line.  An R will set a ragged  right margin
  2386.             and a J will set a justified right margin.
  2387.  
  2388.         <Gold> _
  2389.             Inserts  a  hyphen and    a  space  at  the  cursor
  2390.             position  and  reformats  from      the     previous
  2391.             beginning  of  line to the  end  of  the  current
  2392.             paragraph.  This command allows you  the  break a
  2393.             word if the automatic reformatting looks bad.
  2394.  
  2395.         <Gold> <Keypad 8>
  2396.             Reformats from the cursor position to  the end of
  2397.             the current paragraph.
  2398.  
  2399.     2.16            Programming Keys
  2400.  
  2401.         The effect of a keyboard command is  not  fixed  in Sedt.
  2402.     You can change the functions of most keys  in  a variety of ways.
  2403.     Permanently  by    editing    the  keyboard  definition  file  or
  2404.     temporarily  during a  session    with  commands    that  change  the
  2405.     keyboard programming.
  2406.  
  2407.         <Control> K
  2408.             Prompts for you to  type  the  key  you  want  to
  2409.             program and for a command string that you want to
  2410.             program the key with.  Valid  commands    that  you
  2411.             can  program the key with are documented  in  the
  2412.             reference section of this manual.
  2413.  
  2414.         <Gold> <Control> I
  2415.             Prompts for you to  type  a  keystroke    and  then
  2416.             inserts  the  programming  of the  key    into  the
  2417.             current buffer at the cursor position.
  2418.  
  2419.         <Gold> <Control> L
  2420.             Prompts for you to type the key that  you want to
  2421.             program  and  then  loads  the    contents  of  the
  2422.             current buffer into the key.  Valid commands that
  2423.             you can program  the  key  with are documented in
  2424.             the reference section of this manual.
  2425.  
  2426.         <Gold> <F17>
  2427.             Causes    learning  of  keystrokes  into    ^Z  until
  2428.             learning is completed by typing <Control> Z.  The
  2429.             keystrokes learned  can  be  "replayed" by typing
  2430.             ^Z.
  2431.  
  2432.         <Gold> <F18>
  2433.             Prompts  for  a    keystroke    and  then  stores
  2434.             subsequent keystokes into that    key  until  it is
  2435.             typed again.  To "replay" the keystrokes type the
  2436.             key at any time after learning was terminated.
  2437.  
  2438.     2.17            Changing Options
  2439.  
  2440.         Sedt supports  a  variety  of  toggles    and  options that
  2441.     change the behavior of the editor.  Many can be set for a session
  2442.     by providing command switches  when  you call Sedt or they can be
  2443.     modified dynamically during the editing session.
  2444.  
  2445.         <Gold> A
  2446.             Toggles    automatic    screen    shifting.
  2447.  
  2448.             When automatic screen shifting    is  on the screen
  2449.             will  scroll  horizontally  to    ensure    that  the
  2450.             cursor    is always visible within the  margins  on
  2451.             your screen.  The mode indicator "Screen  Shift="
  2452.             indicates  how    many characters to the right that
  2453.             the  screen  is shifted.  When screen shifting is
  2454.             off the  leftmost  character on the screen always
  2455.             corresponds to the  leftmost  character  on  each
  2456.             line in the file.
  2457.  
  2458.         <Gold> I
  2459.             Toggles  expansion  of    tabs.
  2460.  
  2461.             Then tabs are expanded only space characters will
  2462.             be used when indenting    text  in  moving to a tab
  2463.             stop on the ruler.   When  tabs are inserted Sedt
  2464.             will attempt to use ASCII HT characters for these
  2465.             operations,  thus saving file space.  The  latter
  2466.             condition  may lead to undesired effects when you
  2467.             delete    and   insert  text  containing    ASCII  HT
  2468.             characters.  The  state of the tab insertion mode
  2469.             is shown by the "Tabs:" mode indicator.
  2470.  
  2471.         <Gold> L
  2472.             Toggles block cut and paste.
  2473.  
  2474.             When  block  cut and paste is  in  effect  a  cut
  2475.             operation (<Remove> or <Keypad 6>) will remove    a
  2476.             rectangle of text bounded by the select point and
  2477.             the   cursor  position.    In  line  mode  a  cut
  2478.             operation will    remove    all  text  in  the select
  2479.             region.
  2480.  
  2481.             When block  cut  and  paste is in effect the word
  2482.             "Block" will appear  on  the mode line and only a
  2483.             reverse video column will show the select region.
  2484.  
  2485.             When line cut and  paste is in effect "Line" will
  2486.             be shown on the mode  line  and the entire select
  2487.             region will be shown in reverse video.
  2488.  
  2489.         <Gold> O
  2490.             Toggles  overstrike/insert mode.
  2491.  
  2492.             In insert  mode  typed    text,  inserted  text and
  2493.             undeleted  text  will be inserted at  the  cursor
  2494.             position and any existing text will be    pushed to
  2495.             the right of  the  inserted  text.    The  delete
  2496.             operation will remove the  text and collapse text
  2497.             around    the region that was  deleted.     "Insert"
  2498.             will also be displayed on the mode line.
  2499.  
  2500.             In  replace  mode  typed, inserted and    undeleted
  2501.             text will overwrite existing text in the  buffer.
  2502.             Delete    operations will cause the deleted text to
  2503.             be  replaced by blank space.  "Replace" will also
  2504.             be shown  on  the mode line.  This mode is useful
  2505.             for editing tabular types of text.
  2506.  
  2507.         <Gold> W
  2508.             Toggles between 80  and  132  character displays.
  2509.             This is only supported    on  systems  and displays
  2510.             that can toggle between these modes.
  2511.  
  2512.     2.18             Miscellaneous Commands
  2513.  
  2514.         <Control> P
  2515.             Prompts  for  a file name and writes the contents
  2516.             of  the  current  buffer  onto the file with page
  2517.             breaks at every 60 lines.
  2518.  
  2519.         <Control> W
  2520.             Refreshes the entire display.
  2521.  
  2522.         <Gold> <Return>
  2523.         <Do>
  2524.             Prompts for an operating system command and  then
  2525.             executes  it in a subprocess.  If no  command  is
  2526.             entered the  command  parser  will  be    executed.
  2527.             This command is  not  supported  on all operating
  2528.             systems.
  2529.  
  2530.         <Gold> H
  2531.         <Help>
  2532.         <PF2>
  2533.             Displays  a  series  of    help  screens  on  the
  2534.             terminal.
  2535.  
  2536.         <Gold> R
  2537.             Enters ruler definition mode.  See the chapter on
  2538.             modifying the ruler for an explanation.
  2539.  
  2540.         <F7>
  2541.         <F9>
  2542.         <Keypad Enter>
  2543.         <Gold> <Resume>
  2544.             Dead  key.    This  is useful for  terminating    a
  2545.             continuously  scrolling  operation    started  by
  2546.             <Gold> <Right Arrow> or <Gold> <Left Arrow>.
  2547.  
  2548.         <Gold> <F4>
  2549.             Prompts for a file  and loads the contents of the
  2550.             file into the paste buffer.
  2551.  
  2552.         <Gold> <Do>
  2553.         <Gold> <Keypad 7>
  2554.             Prompts for a sequence of  internal Sedt commands
  2555.             and  then  executes  them.    A   description  of
  2556.             internal   Sedt  commands  is  contained  in  the
  2557.             reference section of this manual.
  2558.  
  2559.         <Gold> <Keypad 1>
  2560.             Changes  the  case  of alphabetic characters in a
  2561.             range  of text given by the following rule:   The
  2562.             select    region if one is active, otherwise if the
  2563.             last command  was  a  search operation the string
  2564.             that was found,  otherwise  the  character at the
  2565.             cursor position.
  2566.  
  2567.         <Gold> <Keypad Enter>
  2568.             Swaps the character at    the  cursor  position and
  2569.             the following character and advances  the  cursor
  2570.             by one character.
  2571.     
  2572.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2573.     Sedt Version 4.0 (254)
  2574.  
  2575.  
  2576.     3       Using the MS-DOS version of Sedt
  2577.  
  2578.         The  MS-DOS  version  of    Sedt    follows  the  generic
  2579.     description given in the previous  two chapters, but adds support
  2580.     for a mouse if a Microsoft mouse compatible driver is installed.
  2581.  
  2582.     3.1 Support of the Microsoft mouse driver
  2583.  
  2584.             If  Sedt recognizes the presence of  a    mouse  it
  2585.         will  display  a  block cursor within the  window.    The
  2586.         cursor will move around the window if you move the mouse.
  2587.  
  2588.             Clicking the left mouse button will move the text
  2589.         cursor to the position you clicked at.    Any active select
  2590.         region is canceled.    If  the mouse is dragged with the
  2591.         left mouse button held down the cursor will move with the
  2592.         mouse and the region between  the  point where the cursor
  2593.         was  originally pressed and the current  cursor  will  be
  2594.         selected.
  2595.  
  2596.             Clicking the right  mouse  button will select the
  2597.         text between the mouse cursor and the text cursor.
  2598.     
  2599.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2600.     Sedt Version 4.0 (254)
  2601.  
  2602.  
  2603.     4       Using the Microsoft Windows version of Sedt
  2604.  
  2605.  
  2606.         WSEDT.EXE is special version of Sedt running as a class A
  2607.     application  under  Microsoft    Windows.    In    addition  to  the
  2608.     functionality described elsewhere in  this manual it offers mouse
  2609.     control, menus, sizable and movable  windows  and an interface to
  2610.     the  Windows clipboard.  
  2611.  
  2612.         Because of  the multitasking environment Sedt cannot take
  2613.     full control of  the  keyboard    or  even assume that the keyboard
  2614.     state is known.  Therefore Sedt does not support the Num Lock and
  2615.     Scroll Lock keys as normal editing keys.
  2616.  
  2617.     4.1              Window Control
  2618.  
  2619.             When you  run Sedt is displays a normal MS window
  2620.         with a menu  bar,  a  size box and a vertical scroll bar.
  2621.         All of these controls  work  exactly  as  with    any other
  2622.         Windows application.  When the window is resized you will
  2623.         notice that Sedt  adapts  to the new windows size so that
  2624.         horizontal shifting and vertical  scrolling  work exactly
  2625.         the same.
  2626.  
  2627.             The initial window will display buffer 0.  As you
  2628.         open  other  buffers,  they  will  be  displayed  in  new
  2629.         windows.  You can display the contents of several buffers
  2630.         at a time.  As with the stand alone version, you can have
  2631.         four concurrently open    windows.   These are displayed in
  2632.         independent  MS-Windows windows that  can  be  moved  and
  2633.         controlled independently.
  2634.  
  2635.     4.2              Mouse Control
  2636.  
  2637.             The mouse cursor is an    I-bar text cursor when it
  2638.         moves within the file display.     Outside the file display
  2639.         it changes into an arrow pointer.
  2640.  
  2641.             Apart  from  the  normal  mouse  controls of  the
  2642.         windows and menus, you can also use the mouse to position
  2643.         the text cursor within the visible window and to select a
  2644.         region of text.
  2645.  
  2646.             To  position  the cursor, place the mouse pointer
  2647.         at the    character  position  you  want the cursor at, and
  2648.         click the left    button.    The    cursor    will  move to the
  2649.         selected position unless the  position    is further to the
  2650.         right than the last character  on  the    line, or past the
  2651.         end of the buffer.  If    the  selected position is further
  2652.         to the right than the end of  the line the cursor will be
  2653.         placed over the last character on the line.    If  it  is
  2654.         past the end of the buffer you will get an error message.
  2655.  
  2656.             If you select a point on  the  first or last line
  2657.         of the buffer the window will scroll one line.
  2658.  
  2659.             To  select a region of text you can use the mouse
  2660.         in two    different  ways.    If    you drag the cursor after
  2661.         clicking  it  the  region  from  the  initially  selected
  2662.         cursor position to the    point where you release the mouse
  2663.         button will be the selected  region.  If you accidentally
  2664.         select a region by dragging, you  can  cancel  the select
  2665.         region by moving the mouse cursor to the block cursor and
  2666.         clicking  the right mouse button.  Alternately, a  region
  2667.         can be selected by moving the mouse cursor to  the end of
  2668.         the  select  region  and clicking the right mouse button.
  2669.         In either case the selected region will change to reverse
  2670.         video.
  2671.  
  2672.     4.3               Menu Control
  2673.  
  2674.             The menu  bar  will  display  five titles:  File,
  2675.         Window, Edit, Ruler and Help.    To  select  any  of these
  2676.         move the mouse cursor to the title  and  a drop down menu
  2677.         will appear.  To select an item move  the mouse cursor to
  2678.         the item and click the left mouse button.   A  drop  down
  2679.         menu will appear as long as you hold down the  left mouse
  2680.         button.   To select a menu item drag the cursor till  the
  2681.         item  you want    is  highlighted  and  release  the  mouse
  2682.         button.
  2683.  
  2684.     4.3.1    File
  2685.  
  2686.             This  menu is used  to    control  the  file  being
  2687.             edited in the window.
  2688.  
  2689.     4.3.1.1     New
  2690.  
  2691.                 Clears the current window.  If the window
  2692.                 contains  an  unsaved  file  a dialog box
  2693.                 will  appear  and  you    will be asked for
  2694.                 confirmation before the unsaved edits are
  2695.                 removed.
  2696.  
  2697.     4.3.1.2     Open..
  2698.  
  2699.                 Displays  a  file  selector dialog box.
  2700.                 The file you select in the box    is loaded
  2701.                 into the current buffer.
  2702.  
  2703.     4.3.1.2     Save
  2704.  
  2705.                 Saves the file in the current buffer onto
  2706.                 the  file  displayed after "File:" in the
  2707.                 top line of the window.
  2708.  
  2709.     4.3.1.3     Save as..
  2710.  
  2711.                 Displays a file selector dialog box.  The
  2712.                 contents of the buffer are saved onto the
  2713.                 file you select.  The file name displayed
  2714.                 after  "File:"    in  the  top line of  the
  2715.                 window is also changed to the name of the
  2716.                 file you selected.
  2717.  
  2718.     4.3.1.4     Insert..
  2719.  
  2720.                 Displays a file selector dialog box.  The
  2721.                 file  selected is included in the  buffer
  2722.                 at the current cursor position.
  2723.  
  2724.     4.3.1.5     Quit
  2725.  
  2726.                 Closes the current window.  If    there are
  2727.                 unchanged  buffers  you will be asked for
  2728.                 confirmation  before  the    session   is
  2729.                 terminated.  Sedt will terminate when the
  2730.                 last window is closed.
  2731.  
  2732.     4.3.2    Window
  2733.  
  2734.             The  window menu allows  you  to  switch  between
  2735.             buffers and to clear the contents of a window.
  2736.  
  2737.     4.3.2.1     Untitled
  2738.             Unused
  2739.             <File name>
  2740.  
  2741.                 Makes the window containing the indicated
  2742.                 buffer    the  currently    selected  window.
  2743.                 The menu item shows the  current state of
  2744.                 the window.  Untitled is an  open  window
  2745.                 with  no file associated with it.   <File
  2746.                 name>  is  the    name  of  the  file being
  2747.                 edited, and Unused is a closed window.
  2748.  
  2749.     4.3.2.2     Switch
  2750.  
  2751.                 Selects  the window you were in when  you
  2752.                 last selected a new window.
  2753.  
  2754.     4.3.3    Edit
  2755.  
  2756.             The edit menu allows you to  control the select
  2757.             region.
  2758.  
  2759.     4.3.3.1     Clear
  2760.  
  2761.                 Clears the select region.  This is useful
  2762.                 when you  have    accidentally  activated a
  2763.                 select region by  moving  the mouse while
  2764.                 holding the button down.
  2765.  
  2766.     4.3.3.2     Cut
  2767.  
  2768.                 Cuts the selected region  and saves it in
  2769.                 the paste buffer.
  2770.  
  2771.     4.3.3.3     Paste
  2772.  
  2773.                 Inserts the contents of the  paste buffer
  2774.                 at the text cursor position.
  2775.  
  2776.     4.3.4    Ruler
  2777.  
  2778.             Loads a saved ruler.
  2779.  
  2780.     4.3.4.1     Load <X>
  2781.  
  2782.                 Load saved ruler number <X>
  2783.  
  2784.     4.3.5    Help
  2785.  
  2786.             The help menu displays the interactive help menus
  2787.             in the current window.
  2788.     
  2789.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2790.     Sedt Version 4.0 (254)
  2791.  
  2792.  
  2793.     5         Using the ATARI GEM version of Sedt
  2794.  
  2795.  
  2796.         Under  the  ATARI  GEM environment GSEDT.PRG  offers  the
  2797.     functionality  described  elsewhere  in  this  manual  with   the
  2798.     addition  of  sizable  and  movable windows, mouse control,  menu
  2799.     access    to  some  functions and access to desk accessories  while
  2800.     using Sedt.  The only function is spawning of subprocesses.
  2801.  
  2802.     5.1              Window Control
  2803.  
  2804.             When  you  first  enter  Sedt  it  will display a
  2805.         single window with a menu  bar, a move bar, a scroll bar,
  2806.         a full box and a size  box.    You  can  use any of these
  2807.         controls to move or resize the window.      You will notice
  2808.         that  every  time the window has been resized  Sedt  will
  2809.         ensure that the cursor is within the new window  and that
  2810.         no clipping takes place.  Sedt will not allow any portion
  2811.         of  the  window  to be outside the visible portion of the
  2812.         screen,  and  if  you  try,  it will resize the window to
  2813.         prevent this from happening.
  2814.  
  2815.             The initial window will display buffer 0.  As you
  2816.         open  other  buffers,  they  will  be  displayed  in  new
  2817.         windows  that  also  are initialized to full screen size.
  2818.         You can  display  the  contents  of  several  buffers  by
  2819.         resizing them and moving them to different screen areas.
  2820.  
  2821.     5.2              Mouse Control
  2822.  
  2823.             Normally the mouse  cursor  is    not visible.  You
  2824.         can make it visible  at any time by moving the mouse, and
  2825.         it  will  remain  visible  until  you  execute    the  next
  2826.         keyboard command.
  2827.  
  2828.             Apart from the normal mouse controls of the ATARI
  2829.     GEM windows and menus, you can also use the mouse to position the
  2830.     text cursor within the    visible  window and to select a region of
  2831.     text.
  2832.  
  2833.             To  position  the cursor, place the mouse pointer
  2834.         at the    character  position  you  want the cursor at, and
  2835.         click the left    button.    The    cursor    will  move to the
  2836.         selected position unless the  position    is further to the
  2837.         right than the last character  on  the    line, or past the
  2838.         end of the buffer.  If    the  selected position is further
  2839.         to the right than the end of  the line the cursor will be
  2840.         placed over the last character on the line.    If  it  is
  2841.         past the end of the buffer you will get an error message.
  2842.  
  2843.             If you select a point on  the  first or last line
  2844.         of the buffer the window will scroll one line.
  2845.  
  2846.             To  select a region of text move the mouse cursor
  2847.         to  the place where you want the text cursor to be  after
  2848.         the selection then push the left button on the mouse and,
  2849.         while holding the  button  down, drag the mouse cursor to
  2850.         the end of the    region you want to select and release the
  2851.         button.
  2852.  
  2853.             You can  clear    the select region by clicking the
  2854.         cursor on the select point.
  2855.  
  2856.     5.3               Menu Control
  2857.  
  2858.             The  menu  bar    will  display five titles:  Desk,
  2859.         File, Window, Select  and  Help.   To select any of these
  2860.         move the mouse cursor  to  the title and a drop down menu
  2861.         will appear.  To select  an item move the mouse cursor to
  2862.         the item and click the left mouse button.
  2863.  
  2864.     5.3.1    Desk
  2865.  
  2866.             This is  the  normal  desk  accessory menu with a
  2867.             selection at the top titled "About Sedt".
  2868.  
  2869.     5.3.1.1     About Sedt
  2870.  
  2871.                 Displays  in a dialog box the version  of
  2872.                 Sedt you are using.
  2873.  
  2874.     5.3.2    File
  2875.  
  2876.             Allows    you to control    the  file  shown  in  the
  2877.             currently selected window.
  2878.  
  2879.     5.3.2.1     Load..
  2880.  
  2881.                 Displays a file selector dialog box.  The
  2882.                 file you select in the box is loaded into
  2883.                 the current buffer.
  2884.  
  2885.     5.3.2.2     Save
  2886.  
  2887.                 Saves the file in the current buffer onto
  2888.                 the  file  displayed after "File:" in the
  2889.                 top line of the window.
  2890.  
  2891.     5.3.2.3     Save as..
  2892.  
  2893.                 Displays a file selector dialog box.  The
  2894.                 contents of the buffer are saved onto the
  2895.                 file you select.  The file name displayed
  2896.                 after  "File:"    in  the top line  of  the
  2897.                 window is also changed to the name of the
  2898.                 file you selected.
  2899.  
  2900.     5.3.2.4     Insert..
  2901.  
  2902.                 Displays a file selector dialog box.  The
  2903.                 file selected is included in  the  buffer
  2904.                 at the current cursor position.
  2905.  
  2906.     5.3.2.5     Quit
  2907.  
  2908.                 Closes the current window.  If    there are
  2909.                 unchanged  buffers  you will be asked for
  2910.                 confirmation  before  the    session   is
  2911.                 terminated.  Sedt will terminate when the
  2912.                 last window is closed.
  2913.  
  2914.     5.3.3    Window
  2915.  
  2916.             The  window menu allows  you  to  switch  between
  2917.             buffers and to clear the contents of a window.
  2918.  
  2919.     5.3.3.1     Untitled
  2920.             Unused
  2921.             <File name>
  2922.  
  2923.                 Makes the window containing the indicated
  2924.                 buffer    the  currently    selected  window.
  2925.                 The menu item shows the  current state of
  2926.                 the window.  Untitled is an  open  window
  2927.                 with  no file associated with it.   <File
  2928.                 name>  is  the    name  of  the  file being
  2929.                 edited, and Unused is a closed window.
  2930.  
  2931.     5.3.3.2     Switch
  2932.  
  2933.                 Selects  the window you were in when  you
  2934.                 last selected a new window.
  2935.  
  2936.     5.3.3.3     Clear
  2937.  
  2938.                 Erases the contents of a window.  If  the
  2939.                 window contains unsaved  changes you will
  2940.                 be asked whether you  want  to    save  the
  2941.                 changes before clearing the window.
  2942.  
  2943.     5.3.4    Select
  2944.  
  2945.             The select menu allows you to  control the select
  2946.             region.
  2947.  
  2948.     5.3.4.1     Clear
  2949.  
  2950.                 Clears the select region.  This is useful
  2951.                 when you  have    accidentally  activated a
  2952.                 select region by  moving  the mouse while
  2953.                 holding the button down.
  2954.  
  2955.     5.3.4.2     Cut
  2956.  
  2957.                 Cuts the selected region  and saves it in
  2958.                 the paste buffer.
  2959.  
  2960.     5.3.4.3     Paste
  2961.  
  2962.                 Inserts the contents of the  paste buffer
  2963.                 at the text cursor position.
  2964.  
  2965.     5.3.5    Ruler
  2966.  
  2967.             Loads a saved ruler.
  2968.  
  2969.     5.3.5.1     Load <X>
  2970.  
  2971.                 Load saved ruler number <X>
  2972.  
  2973.     5.3.6    Help
  2974.  
  2975.             The help menu displays the interactive help menus
  2976.             in the current window.
  2977.  
  2978.     5.3.6.1     Show
  2979.  
  2980.                 Show  the  interactive    help menus in the
  2981.                 currently active window.
  2982.     
  2983.     Copyright (c) Anker Berg-Sonne, 1985-1989
  2984.     Sedt Version 4.0 (254)
  2985.  
  2986.                   Sedt hints and tricks
  2987.  
  2988.     6.1 Using Sedt for programming
  2989.  
  2990.             A number of features in Sedt are designed to make
  2991.         programming  easier.      This    section  describes  these
  2992.         features and how best to take advantage of them.
  2993.  
  2994.         Autoindentation
  2995.  
  2996.             By setting the    ruler  for  automatic indentation
  2997.             (type  A anywhere on  the  ruler  when    in  ruler
  2998.             definition  mode)  Sedt  is  set   up  to  indent
  2999.             automatically to the level of the  line  you just
  3000.             terminated  after  you    type  a  <Return>.   This
  3001.             facility  makes  it  easy to write programs in    a
  3002.             structured  fashion with  the  indentation  level
  3003.             proportional to the level of nesting.
  3004.  
  3005.         Matching bracketing characters
  3006.  
  3007.             When  programming,  especially    in  C  and  LISP,
  3008.             nesting is often hard to  get  right.    Sedt will
  3009.             locate a matching bracket (', ",  <,  >, [, ], {,
  3010.             }, (, or )) if you position  the  cursor over the
  3011.             character  and    type <Gold> <F19>.  This facility
  3012.             can also  be  used  to    move over sections of the
  3013.             program.
  3014.  
  3015.         Compiling from within Sedt
  3016.  
  3017.             By defining a  key  to    save the current file and
  3018.             spawn  a  compiler  you  can  compile  a  program
  3019.             without leaving Sedt.  If  the compiler generates
  3020.             a listing of error messages, you  can  define the
  3021.             key to also load the listing in another buffer.
  3022.  
  3023.         Defining templates
  3024.  
  3025.             By using the lean key feature, you  can  define a
  3026.             series    of  keys in such a way that  they  insert
  3027.             templates for key language constructs.
  3028.  
  3029.     6.2 Using Sedt for text and documents
  3030.  
  3031.         Formatting
  3032.  
  3033.             Use word wrap  and right margin, either ragged or
  3034.             justified to format paragraphs    as  you type.  If
  3035.             you  make  changes  to    an    already    formatted
  3036.             paragraph, reformat the paragraph with <Gold>  J.
  3037.             It is a good idea to have  multiple stored rulers
  3038.             for different levels of indentation.
  3039.  
  3040.         Post processing
  3041.  
  3042.             Sedt is not a word processor and does not support
  3043.             many  features    such  as bolding and underlining.
  3044.             There  are,  however, a number of post processors
  3045.             that  together with Sedt will provide a more than
  3046.             acceptable word processing environment.  Define a
  3047.             key to save the file,  post  process  it and then
  3048.             print the final output.
  3049.  
  3050.         Spelling checkers
  3051.  
  3052.             Sedt  works  very  well  with  resident  spelling
  3053.             checkers  such    as Turbo Lightning on PC/DOS  and
  3054.             Thunder on the ATARI ST.  With a spelling checker
  3055.             and  thesaurus, you have a superb environment for
  3056.             producing documents.
  3057.  
  3058.     6.3 Repetitive tasks
  3059.  
  3060.             A number of tricks  can  be  used  to  facilitate
  3061.         tasks that require repetition of  a task many times.  The
  3062.         techniques are based on the ability to dynamically change
  3063.         key definitions.  Usually a combination of the techniques
  3064.         described lead to the optimal effort reduction.
  3065.  
  3066.         Using learned key sequences
  3067.  
  3068.             The  standard  technique  for  reexecuting  a key
  3069.             sequence is to type <Gold> <F17> at the  start of
  3070.             the sequence and terminate  the sequence with ^Z.
  3071.             The sequence can then be  replayed once by typing
  3072.             ^Z  and  many  times  by typing  <Gold>  <Number>
  3073.             ^Z.  <Number> is the number of times you  want to
  3074.             repeat    the  sequence  and  must  be typed on the
  3075.             regular typewriter keyboard.
  3076.  
  3077.         More advanced use of learned key sequences
  3078.  
  3079.             You can  learn keystrokes into other keys than ^Z
  3080.             by starting the  process  by  typing <Gold> <F18>
  3081.             and then typing the  key  you  want to learn into
  3082.             when prompted.    To exit  learning  mode  type the
  3083.             key you are learning into.  The learned keystroke
  3084.             sequence can be replayed by typing the    same  key
  3085.             again.
  3086.  
  3087.         Redefining complex keystroke sequences
  3088.  
  3089.             A very simple technique is to redefine a  command
  3090.             that  is  tied    to  a  complex key sequence to    a
  3091.             single keystroke.  You can very easily redefine a
  3092.             gold key sequence to a single keystroke by typing
  3093.             ^K, then the single  key you will tie the command
  3094.             to,  <Return>,    the old keystroke  sequence,  and
  3095.             finally <Return>.
  3096.  
  3097.         Using commands not tied to keys by default
  3098.  
  3099.             The default key definitions only use  a subset of
  3100.             Sedt's capabilities.    You  can  often  simplify
  3101.             tasks by taking  advantage  of the more extensive
  3102.             capabilities of the basic command set.
  3103.  
  3104.         Turning screen updates off
  3105.  
  3106.             When  a repetitive sequence  generates    extensive
  3107.             screen    updates it can be  simplified  by  taking
  3108.             advantage of the ability to turn  screen  updates
  3109.             off.
  3110.     
  3111.     6.4 Creating Menus
  3112.     
  3113.         Often, you  would  like  to  taylor  Sedt to more complex
  3114.         editing environments.    The command structure offers many
  3115.         opportunities to do this.  One way, which is not obvious,
  3116.         is described here.
  3117.     
  3118.         If you would like to  take  an    action    determined  by    a
  3119.         choice by the user, you can do    so  by    tying  a  command
  3120.         sequence like the following to a key:
  3121.     
  3122.     ^E(:FX|%e?"Enter document type L)etter, P)rogram, M)emo :"tpe.sed|)(:OM"Invalid menu selection").
  3123.     
  3124.         When the key is pressed the commands in  a file stored in
  3125.         Sedt's library area will be executed.  If L  is typed the
  3126.         file Ltpe.sed is selected.  P and M will execute Ptpe.sed
  3127.         and Mtpe.sed.
  3128.     
  3129.     6.5 Using different initialization files for different file types
  3130.     
  3131.         You can make  Sedt  initialize    itself    automatically for
  3132.         different file types by creating a SEDTCOM.TXT file with
  3133.     
  3134.         ^E(:FX\%E%T.INI\)(:OM"No initialization file").
  3135.     
  3136.         For any file type you edit Sedt will look for a file with
  3137.         the name <type>.INI in Sedt's  library    area.  If none is
  3138.         found, a message will be issued.
  3139.     
  3140.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3141.     Sedt Version 4.0 (254)
  3142.     
  3143.     7              Customizing Keyboards
  3144.     
  3145.         Keyboard commands are defined by two files.  The keyboard
  3146.     map file defines how  keyboard    input  is  mapped  into  a set of
  3147.     predefined functions.  The predefined  functions are defined in a
  3148.     function definition file.  Both of  these  files  are in a binary
  3149.     format and must be created with a utility program called MAPKEY.
  3150.     
  3151.         The  keyboard  map files are unique for  every    keyboard,
  3152.     wheras    there  is  only  one  function definition file    for  each
  3153.     editing style (EDT or WPS).
  3154.     
  3155.     7.1 Function definition file
  3156.     
  3157.         Before    building a keyboard map file you need to build    a
  3158.     function  definition  file,  or print the contents of the one you
  3159.     want to  map  the  keyboard  to.   The Sedt distribution contains
  3160.     FUNDEF.INP, which is  the ASCII file used to create the EDT style
  3161.     function definition file FUNDEF.EDT.
  3162.     
  3163.         The format of this file is as follows:
  3164.     
  3165.             Comment lines  have  a    ;    as  the  very  first
  3166.         character of the line.
  3167.     
  3168.             Function  definitions  are   two  lines  with  NO
  3169.         comments allowed between the two.
  3170.     
  3171.             The first line has the format:
  3172.     
  3173.             <No> <Definition>
  3174.     
  3175.             Where <No> is the  number  that you have assigned
  3176.         to the function being defined,    and  <Definition>  is the
  3177.         function  definition.     The  contents    of    a  function
  3178.         definition  is    described  in  the next section  of  this
  3179.         manual.
  3180.     
  3181.             The second line is the help text assigned  to the
  3182.         function.
  3183.     
  3184.     7.2 Keyboard map file
  3185.     
  3186.         To create a keyboard map file you first need  to know the
  3187.     characters that each key sends.  This is done with  MAPKEY  using
  3188.     the command
  3189.     
  3190.     MAPKEY SCAN
  3191.     
  3192.         To exit  from  MAPKEY type an Escape character under DOS,
  3193.     OS/2, or ATARI ST and a control Z on all other systems.
  3194.     
  3195.         You  may find  that  some  keys  that  you  want  to  use
  3196.     differently send identical codes,  and    other  keys  transmit  no
  3197.     codes to the application.   Under  DOS    and  OS/2  you    have  the
  3198.     ability to bypass the keyboard firmware.    The codes transmitted
  3199.     to the firmware can be explored with MAPKEY typing
  3200.     
  3201.     MAPKEY SCAN
  3202.     
  3203.         You also exit from this mode by typing Escape.
  3204.     
  3205.         Once you know the codes transmitted by    all  keys you are
  3206.     ready to start building the ASCII file that  MAPKEY uses to build
  3207.     the keyboard map file.
  3208.     
  3209.         The input file has four sections:
  3210.     
  3211.             1:  Codes that the  firmware needs to be bypassed
  3212.             with.
  3213.     
  3214.             2:  Assignment of single keystroke  codes  to key
  3215.             numbers.
  3216.     
  3217.             3:  Assignment of multiple keystroke sequences to
  3218.             key numbers.
  3219.     
  3220.             4:  Mapping of keystrokes to function numbers.
  3221.     
  3222.         Section 1 contains a single line for each code    that  the
  3223.             firmware needs to be bypassed for in the firmat:
  3224.     
  3225.             S<Scancode> <Character>
  3226.     
  3227.                 or
  3228.     
  3229.             E<Scancode> <Character>
  3230.     
  3231.             <Scancode> is  the  scancode  value  that  MAPKEY
  3232.             printed and <Character>  is  the  ASCII character
  3233.             that  you have decided    to  assign  to    the  key.
  3234.             (ASCII character values are normally  assigned by
  3235.             the firmware).      E is used where MAPKEY informed
  3236.             you that the  scancode    is extended and S is used
  3237.             for normal scancodes.
  3238.     
  3239.             You should only enter values into this section if
  3240.             MAPKEY CHAR either doesn't return any value for a
  3241.             key, or if the    keystroke  generates an ambiguous
  3242.             code.  Failure to do  so  will result in problems
  3243.             accessing TSR programs from DOS and  also  create
  3244.             unnecessary overhead.
  3245.     
  3246.         Section  2  consists of a line containing the  text  KEYS
  3247.             followed by a line for each key number assignment
  3248.             you want to make.
  3249.     
  3250.             Each line has the format:
  3251.     
  3252.             S<Scancode> <Character> <Value>
  3253.             E<Scancode> <Character> <Value>
  3254.             A<Character> <Value>
  3255.     
  3256.             The S format is  used for normal scancodes, E for
  3257.             enhanced  scancodes,  and  A where  you  want  to
  3258.             assign a character to a key  value regardless the
  3259.             scancode.
  3260.     
  3261.             Where <Scancode> and <Character> are values given
  3262.             to you by MAPKEY or assigned in section 1 of this
  3263.             file,  and  <Value> is the  key  value    you  have
  3264.             assigned to the key.  Sedt  uses  some key values
  3265.             internally,  and  you  should  use  the following
  3266.             meanings  for  the  values given in the following
  3267.             table:
  3268.     
  3269.             1        <F1>
  3270.             2        <F2>
  3271.             3        <F3>
  3272.             4        <F4>
  3273.             5        <F5>
  3274.             6        <F6>
  3275.             7        <F7>
  3276.             8        <F8>
  3277.             9        <F9>
  3278.             10        <F10>
  3279.             11        <F11>
  3280.             12        <F12>
  3281.             13        <F13>
  3282.             14        <F14>
  3283.             15        <F15>
  3284.             16        <F16>
  3285.             17        <F17>
  3286.             18        <F18>
  3287.             19        <F19>
  3288.             20        <F20>
  3289.             21        <Find>
  3290.             22        <Insert Here>
  3291.             23        <Remove>
  3292.             24        <Select>
  3293.             25        <Prev Screen>
  3294.             26        <Next Screen>
  3295.             27        <Up Arrow>
  3296.             28        <Left Arrow>
  3297.             29        <Down Arrow>
  3298.             30        <Right Arrow>
  3299.             31        <Keypad 0>
  3300.             32        <Keypad 1>
  3301.             33        <Keypad 2>
  3302.             34        <Keypad 3>
  3303.             35        <Keypad 4>
  3304.             36        <Keypad 5>
  3305.             37        <Keypad 6>
  3306.             38        <Keypad 7>
  3307.             39        <Keypad 8>
  3308.             40        <Keypad 9>
  3309.             41        <Keypad ,>
  3310.             42        <Keypad ->
  3311.             43        <Keypad .>
  3312.             44        <Keypad PF1>
  3313.             45        <Keypad PF2>
  3314.             46        <Keypad PF3>
  3315.             47        <Keypad PF4>
  3316.             48        <Keypad Enter>
  3317.             49        <Backspace>
  3318.             50        <Return>
  3319.  
  3320.             Any  other  key numbers are freely assignable and
  3321.             carry no special meaning.
  3322.     
  3323.         Section 3  consists  of  a  line  containing  the    text
  3324.             COMBINATIONS followed by a number of lines of the
  3325.             following formats
  3326.     
  3327.             <Level> E<Scancode> <Character>
  3328.             <Level> S<Scancode> <Character>
  3329.             <Level> A<Character>
  3330.             <Level> K<Key>
  3331.             <Level> E<Scancode> <Character> <Key #> <Help text>
  3332.             <Level> S<Scancode> <Character> <Key #> <Help text>
  3333.             <Level> A<Character> <Key #> <Help text>
  3334.             <Level> K<Key> <Key #> <Help text>
  3335.     
  3336.             <Level> designates the number of the keystroke in
  3337.             the sequence.
  3338.     
  3339.             E<Scancode>    <Character>    is   an     extended
  3340.             scancode/character combination.
  3341.     
  3342.             S<Scancode>     <Character>    is    a    normal
  3343.             scancode/character combination.
  3344.     
  3345.             A<Character> is any ASCII character.
  3346.     
  3347.             K<Key> is a key number assigned  in  the previous
  3348.             section.
  3349.     
  3350.             For the final character in a sequence <Key  #> is
  3351.             the  key  nymber  you  assign to the sequence and
  3352.             <Help  Text>  is  the  help  text  to  be used in
  3353.             interactive help.
  3354.     
  3355.             To  describe a sequence consisting of ^A^B  which
  3356.             you want to assign as key number 99  and give the
  3357.             help text ^A^B to include:
  3358.     
  3359.             1 A1
  3360.             2 A2 99 ^A^B
  3361.     
  3362.             To describe  two  sequences  consisting of ^A^B^C
  3363.             and ^A^B^D and    assign them to key bumbers 99 and
  3364.             100 include:
  3365.     
  3366.             1 A1
  3367.             2 A2
  3368.             3 A3 99 ^A^B^C
  3369.             4 A4 100 ^A^B^D
  3370.     
  3371.             Two sequences consisting of ^A^B^C^D and ^A^B^D^E
  3372.             would be described as:
  3373.     
  3374.             1 A1
  3375.             2 A2
  3376.             3 A3
  3377.             4 A4 99 ^A^B^C^D
  3378.             3 A4
  3379.             4 A5 100 ^A^B^D^E
  3380.     
  3381.             As you can see, you are building a tree structure
  3382.             where  common  root  sequences are only  included
  3383.             once. You must follow this scheme.
  3384.     
  3385.         Section 4 consists of a line containing the text MAPS and
  3386.             a number of lines in the following formats:
  3387.     
  3388.             <Number> S<Scancode> <Character> <Function> <Help Text>
  3389.             <Number> E<Scancode> <Character> <Function> <Help Text>
  3390.             <Number> A<Character> <Function> <Help Text>
  3391.             <Number> K<Key> <Function> <Help Text>
  3392.             <Number> G S<Scancode> <Character> <Function> <Help Text>
  3393.             <Number> G E<Scancode> <Character> <Function> <Help Text>
  3394.             <Number> G A<Character> <Function> <Help Text>
  3395.             <Number> G K<Key> <Function> <Help Text>
  3396.     
  3397.             <Number> is the index into the table.  This index
  3398.             is  used by several commands that reference keys.
  3399.             It  is    suggested  that  you  number  all entries
  3400.             sequentially starting with 0.
  3401.     
  3402.             G just    after  <Number>  means    that this mapping
  3403.             value  applies when  the  <Gold>  key  was  typed
  3404.             immediatly before the key generating the entry.
  3405.     
  3406.             <Scancode>,  <Character>,  and    <Key> define  the
  3407.             key.  
  3408.     
  3409.             <Function> specifies the function  the    key is to
  3410.             assigned  to.     A function number of  0  or  the
  3411.             letter    G means that the key being defined  is    a
  3412.             <Gold> key.
  3413.     
  3414.             <Help Text> is the help text  assigned to the key
  3415.             or key sequence.
  3416.     
  3417.             Sedt  searches    all  of these tables sequentially
  3418.         from the  start  to  the  finish.   You must take care to
  3419.         ensure that an    A<Character> entry is not placed before a
  3420.         S<Scancode> <Character> or E<Scancode>    <Character>  with
  3421.         the same character value.   You  must also place a K<Key>
  3422.         entry before any entry that might produce a match for the
  3423.         same  character.    It is helpful to  start  with  all    K
  3424.         entries,  followed  by    all  E    and  S    entries,  finally
  3425.         followed by all A entries.
  3426.     
  3427.     7.3    MAPKEY Program
  3428.     
  3429.         The MAPKEY program is  used  to maintain keyboard map and
  3430.     function definition files.
  3431.     
  3432.     MAPKEY Commands:
  3433.     
  3434.         MAPKEY SCAN
  3435.     
  3436.             Prints scancodes for keys pressed.   This command
  3437.             bypasses  the  firmware and prints scancodes  for
  3438.             all keys, even those that normally are trapped by
  3439.             the firmware. To terminate MAPKEY type Esc.
  3440.     
  3441.         MAPKEY CHAR
  3442.     
  3443.             Prints    scancode  and  character  values for keys
  3444.             pressed.  This command shows the keypresses after
  3445.             they are processed by the firmware.  To terminate
  3446.             MAPKEY type Esc.
  3447.     
  3448.         MAPKEY COMPILE KEYS <ASCII file> <Binary file>
  3449.     
  3450.             Comverts  an ASCII keyboard  map  file    into  the
  3451.             binary format required by Sedt.
  3452.     
  3453.         MAPKEY DUMP KEYS <Binary file> <ASCII file>
  3454.     
  3455.             Converts  a  binary  keyboard map  file  into  an
  3456.             editable ASCII format suitable for input  to  the
  3457.             COMPILE KEYS command.
  3458.     
  3459.         MAPKEY TEST <ASCII file>
  3460.     
  3461.             Reads  a file suitable for input to  the  COMPILE
  3462.             KEYS command and displays how Sedt will interpret
  3463.             keystrokes. To terminate MAPKEY type Esc.
  3464.     
  3465.         MAPKEY COMPILE FUNCTIONS <ASCII file> <Binary file>
  3466.     
  3467.             Converts an  ASCII  function definition file into
  3468.             the binary format expected by Sedt.
  3469.     
  3470.         MAPKEY DUMP FUNCTIONS <Binary file> <ASCII file>
  3471.     
  3472.             Converts a function definition file in the binary
  3473.             format required by Sedt  into  an  editable ASCII
  3474.             format    suitable  for  input  to    the   COMPILE
  3475.             FUNCTIONS command.
  3476.     
  3477.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3478.     Sedt Version 4.0 (254)
  3479.     
  3480.     8                Help File
  3481.     
  3482.         The  help file is designed to create  a  tree  structured
  3483.     menu of help screens.  The first few characters of every line are
  3484.     used to drive the menu structure.
  3485.     
  3486.     Space        Lines  starting with space are displayed  on  the
  3487.             screen    and  constitute the normal output, either
  3488.             help text or menu screens.
  3489.     
  3490.     Character    Lines  starting  with any other character defines
  3491.             the menu  structure.   The first character is the
  3492.             first level selection.     Lines starting with just
  3493.             this character come just before the first line of
  3494.             output for this level.     Lines with more than one
  3495.             character define inner menus.
  3496.     
  3497.         Inside    the help text a number    of  tokens  are  allowed.
  3498.     Each  token starts with a % character.      A  special  token,  %%,
  3499.     leaves a single % character in the help text.
  3500.     
  3501.     %F<Number>    Inserts  the  help  text  for the first key found
  3502.             that points to the function number given.
  3503.     
  3504.     %T<Number>    Inserts the  help  text  for  the  given function
  3505.             number.
  3506.     
  3507.     %C<Number>    Advances the cursor to the given column.
  3508.     
  3509.     %K        Inserts the contents of the keyboard map file.
  3510.     
  3511.     Copyright (c) Anker Berg-Sonne, 1985-1989
  3512.     Sedt Version 4.0 (254)
  3513.  
  3514.                 Reference Manual
  3515.  
  3516.     9.1          Interpreting Keyboard Input
  3517.  
  3518.         Whenever  a  control  character, a function key or a  key
  3519.     preceded  by  <Gold>  is  typed Sedt will translate the keystroke
  3520.     into  a  series  of  internal  commands.  The mapping of keys  to
  3521.     internal  commands is defined by a key definition file and can be
  3522.     modified during the editing session.
  3523.  
  3524.         This chapter describes    the  syntax for internal commands
  3525.     and describes the sequence of events between typing a key and the
  3526.     effect of the command being displayed on the terminal.
  3527.  
  3528.         Sedt understands a large variety  of commands and command
  3529.     combinations that have not been tied  to  any keys.  To take full
  3530.     advantage  of  Sedt's  power  you  will need  to  understand  the
  3531.     internal command structure.
  3532.  
  3533.     9.2             Translating Keystrokes
  3534.  
  3535.         When a key is typed the commands tied  to the key will be
  3536.     written  to  an  internal buffer.  If the command string  is  not
  3537.     terminated by a period the command sequence will be stored and    a
  3538.     new  key  will    be  read.    This  continues  until a key with    a
  3539.     definition terminated by a period is typed.  This facilitates the
  3540.     use of multiple keystrokes to input a command sequence.
  3541.  
  3542.         The next  step    is  to scan the command string for tokens
  3543.     and prompts.   Tokens  are  replaced by the value of the token at
  3544.     the time of scanning  and  prompts  will  be  displayed  and then
  3545.     replaced by the response to  the  prompts.  The recognized tokens
  3546.     and prompt strings are:
  3547.  
  3548.         ? will cause SEDT to expect the following syntax:
  3549.  
  3550.             ?<delimiter><string><delimiter>
  3551.  
  3552.         where  <delimiter>  is    any ASCII character.   SEDT  will
  3553.         display  <string> on the bottom line of the  display  and
  3554.         then accept input from the keyboard.
  3555.  
  3556.         ! will cause SEDT to expect the following syntax:
  3557.  
  3558.             !<delimiter><string><delimiter>
  3559.  
  3560.         where <delimiter>  is  any  ASCII  character.    SEDT will
  3561.         display <string> on  the  bottom  line of the display and
  3562.         wait for a key or <Gold>  followed by a key to be struck.
  3563.         A  unique  ASCII  representation  for  the  key  will  be
  3564.         inserted  in  the  command  string  instead of the  above
  3565.         construct.
  3566.  
  3567.         % must be followed by one of  the  following  characters:
  3568.             %, #, F, N, E, L, C, T, D or P.
  3569.  
  3570.             %% is replaced by a single %.
  3571.  
  3572.             %#<Letter>  is replaced by the current    value  of
  3573.             the  counters controlled by :CNS, :CNI and  :CNP.
  3574.             <Letter> must be in the range A to Z.
  3575.  
  3576.             %F is replaced by the name of the  output file of
  3577.             the current buffer being edited.
  3578.  
  3579.             %N is replaced by the name of the output  file of
  3580.             the current buffer being edited,  up  to, but not
  3581.             including, the first period.
  3582.  
  3583.             %T is  replaced  by  the file type, including the
  3584.             leading period, of the output file of the current
  3585.             buffer.
  3586.  
  3587.             %D  is    replaced  by  the  device  and    directory
  3588.             specification of the output file  of  the current
  3589.             buffer.
  3590.  
  3591.             %E  is    only  supported on VMS and MS-DOS,  OS/2,
  3592.             ATARI ST, and UNIX.  On VMS it will  be  replaced
  3593.             by the string Sedt$Library:, and on MS-DOS, OS/2,
  3594.             ATARI  ST, and UNIX by    the  value  of    the  SEDT
  3595.             environment variable.
  3596.     
  3597.             %A  is only supported on VMS  and  MS-DOS,  OS/2,
  3598.             ATARI ST, and UNIX.  On VMS  it  will be replaced
  3599.             by the    string    Sedt$Dir:,  and  on MS-DOS, OS/2,
  3600.             ATARI ST, and  UNIX  by  the  value  of the SEDTP
  3601.             environment variable.
  3602.  
  3603.             %L is replaced by the current line number.
  3604.  
  3605.             %C is replaced by the current character position.
  3606.  
  3607.             %P is  replaced  by  the  contents  of    the paste
  3608.             buffer
  3609.  
  3610.     9.3             Command Syntax
  3611.  
  3612.         Once  the  command  string has been  preprocessed  it  is
  3613.     interpreted as a  series of commands.  This chapter describes all
  3614.     SEDT commands.     For  some  examples  of  how keys are programmed
  3615.     study the keyboard definition file supplied with Sedt.
  3616.  
  3617.         If an  error  occurs during execution of a command string
  3618.     all commands following the one that the error occurred in will be
  3619.     skipped.  Also, if  the  command  was  in  a  series  of commands
  3620.     enclosed in parentheses preceded by a  count  the parentheses are
  3621.     exited and further iterations skipped.
  3622.  
  3623.         SEDT  commands    may  be    grouped  by    placing  them  in
  3624.     parentheses.    A count in  front  of  a  group  of  commands  in
  3625.     parentheses causes the group to be  repeated  the number of times
  3626.     given in the count.
  3627.  
  3628.         It is also possible to execute commands conditionally.
  3629.  
  3630.         ^C(<Commands>)    causes    <Commands> to be executed only if
  3631.         the current buffer contains unsaved changes.
  3632.  
  3633.         ^C(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3634.         executed  if  the  buffer  contains  unsaved changes  and
  3635.         <Commands2> to executed if the buffer is unchanged.
  3636.  
  3637.         ^E(<Commands1>)(<Commands2>)  causes  <Commands1>  to  be
  3638.         executed.  If any  error  occurs during the execution the
  3639.         rest of <Commands1> will be skipped and  <Commands2> will
  3640.         be  executed.  <Commands2> string is ignored if no  error
  3641.         occurs.
  3642.  
  3643.         ^E(<Commands1>)(<Commands2>|<Commands3>)    will  execute
  3644.         <Commands1>.   If an error occurs the rest of <Commands1>
  3645.         will be skipped  and  then  <Commands2> will be executed,
  3646.         otherwise  <Commands3> is executed  after  completion  of
  3647.         <Commands1>.
  3648.  
  3649.         ^S(<Commands>) causes  <Commands>  to be executed only if
  3650.         there is a select region active.
  3651.  
  3652.         ^S(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3653.         executed if a select region is    active.    If  no  select
  3654.         region is active <Commands2> will be executed>.
  3655.  
  3656.         To save a flag    and  have  it  restored  after    a command
  3657.     sequence you bracket the command sequence and precede it with one
  3658.     of the following commands:
  3659.  
  3660.         ^TB(<commands>)  Saves     the  block/line  mode    flag  and
  3661.             restores it after <commands> have been executed.
  3662.  
  3663.         ^TD(<commands>) Saves the direction flag and restores  it
  3664.             after <commands> have been executed.
  3665.  
  3666.         ^TI(<commands>)  Saves    the  replace/insert mode flag and
  3667.             restores it after <commands> have been executed.
  3668.  
  3669.         ^TK(<commands>)  Saves    the  the  typewriter key  command
  3670.             execution  flag  and restores it after <commands>
  3671.             have been executed.
  3672.     
  3673.         ^TT(<commands>) Saves the  the tab insert/expand flag and
  3674.             restores it after <commands> have been executed.
  3675.     
  3676.         ^TU(<commands>) Saves  the  the case sensitivity flag and
  3677.             restores it after <commands> have been executed.
  3678.     
  3679.         The    following    construct     will    execute  commands
  3680.     conditionally depending on the value of a toggle:
  3681.  
  3682.         ^IB(<commands>) Executes <commands>  if  cut  operates in
  3683.             line mode.
  3684.     
  3685.         ^IB(<commands1>|<commands2>) Executes  <commands1> if cut
  3686.             operates  in  line mode and  <commands2>  if  cut
  3687.             operates in block mode.
  3688.  
  3689.         ^ID(<commands>)  Executes    <commands>  if  the  default
  3690.             direction is forward.
  3691.     
  3692.         ^ID(<commands1>|<commands2>) Executes <commands1>  if the
  3693.             default direction is forward  and  <commands2> if
  3694.             the default direction is reverse.
  3695.  
  3696.         ^II(<commands>) Executes  <commands>  if  characters  are
  3697.             inserted when typed.
  3698.         
  3699.         ^II(<commands1>|<commands2>)  Executes    <commands1>    if
  3700.             typed characters are inserted and <commands2>  if
  3701.             typed characters replace existing text.
  3702.  
  3703.         ^IK(<commands>) Executes  <commands>  if typed typewriter
  3704.             key command execution is done.
  3705.     
  3706.         ^IK(<commands1>|<commands2>)  Executes    <commands1>    if
  3707.             typewriter  key  commands    are    executed  and
  3708.             <commands2> if they are not executed.
  3709.  
  3710.         ^IT(<commands>)    Executes    <commands>  if  typed  tab
  3711.             characters are expanded to spaces.
  3712.     
  3713.         ^IT(<commands1>|<commands2>)  Executes    <commands1>    if
  3714.             typed tab characters are  expanded  to spaces and
  3715.             <commands2> if types tab characters are inserted.
  3716.  
  3717.         ^IU(<commands>) Executes <commands> if searches  are case
  3718.             insensitive.
  3719.     
  3720.         ^IU(<commands1>|<commands2>)  Executes      <commands1>  if
  3721.             searches are case insensitive and  <commands2> if
  3722.             searches are case sensitive.
  3723.  
  3724.         SEDT commands are alphanumeric strings preceded by either
  3725.     the  symbol  @    or  :.    Commands preceded by @    define    a  cursor
  3726.     position and normally move the cursor to the position the command
  3727.     defines.    Commands preceded by :    are  action  commands  that
  3728.     perform a change on the file being  edited  or change the editing
  3729.     environment.  Some action commands must be followed by a position
  3730.     command that defines the range of text that the command acts on.
  3731.  
  3732.         All  commands  can  be preceded by a direction    indicator
  3733.     and/or a count.  Not all commands use the  direction indicator or
  3734.     count.     Those that do have the direction indicator or    count  in
  3735.     the syntactical description.
  3736.  
  3737.         The direction indicator is one of +, -, <  or >.  + and >
  3738.     set  the  current  direction  to  be  forward,    toward    the  last
  3739.     character in the buffer.  - and < set the current direction to be
  3740.     backward, toward  the  first  character  in  the  buffer.   If no
  3741.     direction indicator is    provided the command will use the default
  3742.     direction, which initially is forward but can be changed with the
  3743.     commands :A and :B.
  3744.  
  3745.         Count  is either a string of  decimal  digits  optionally
  3746.     followed  by  a dollar sign, $, and  another  string  of  decimal
  3747.     digits,  or a dollar sign, $, followed by  a  string  of  decimal
  3748.     digits.  If no dollar sign is in the count, or it  starts  with a
  3749.     dollar sign, it is interpreted    as  the  decimal value defined by
  3750.     the string.  If the count  contains  a    dollar    sign  between two
  3751.     decimal strings it is interpreted at the decimal value defined by
  3752.     the first string.  If no count is  given  the  command will use a
  3753.     count of one.  This feature allows you to program a key to have a
  3754.     default count by starting the  definition  with $<count>;  If the
  3755.     user supplies a count, it will override the one after $.
  3756.  
  3757.             $10    returns the count 10
  3758.             20$30    returns the count 20
  3759.             40    returns the count 40
  3760.  
  3761.     9.4                Commands
  3762.  
  3763.     9.4.1.1                @AC
  3764.  
  3765.                    Absolute Character
  3766.  
  3767.     Syntax:     {<Count>}@AC
  3768.  
  3769.     Semantics:    Move  the  cursor    to  the  absolute    character
  3770.             position <Count> in the current buffer.
  3771.  
  3772.     9.4.1.2                @AL
  3773.  
  3774.                  Absolute Line
  3775.  
  3776.     Syntax:     {<Count>}@AL
  3777.  
  3778.     Semantics:    Move the cursor to  the  start    of  absolute line
  3779.             <Count> in the current buffer.
  3780.  
  3781.     9.4.1.3                @BB
  3782.  
  3783.                   Beginning of Buffer
  3784.  
  3785.     Syntax:     @BB
  3786.  
  3787.     Semantics:    Move the cursor to the    first  character  in  the
  3788.             current buffer.
  3789.  
  3790.     9.4.1.4                @BM
  3791.  
  3792.               Matching Bracketing Character
  3793.  
  3794.     Syntax:     @BM
  3795.  
  3796.     Semantics:    Move the  cursor to the matching character if the
  3797.             character under the  cursor  is one of:  ', ", <,
  3798.             >, [, ], {, }, (, or ).  ' and " are searched for
  3799.             in  the  current  direction, the  others  in  the
  3800.             direction the character implies.
  3801.  
  3802.     9.4.1.5                @EB
  3803.  
  3804.                  End of Buffer
  3805.  
  3806.     Syntax:     @EB
  3807.  
  3808.     Semantics:    Move the cursor to the end of the current buffer.
  3809.             The cursor  position will be right after the last
  3810.             character in the buffer.
  3811.  
  3812.     9.4.1.6                @EL
  3813.  
  3814.                   End of Line
  3815.  
  3816.     Syntax:     <Count>@EL
  3817.  
  3818.     Semantics:    Move the cursor to  the  next  end of line in the
  3819.             current  direction.    The end    of  line  is  the
  3820.             position  to  the  immediate  right of    the  last
  3821.             character in the line.     0+@EL    is a special case
  3822.             which  always  stays at the end  of  the  current
  3823.             line.
  3824.  
  3825.     9.4.1.7                @C
  3826.  
  3827.                    Character
  3828.  
  3829.     Syntax:     {+|-|<|>}{<Count>}@C
  3830.  
  3831.     Semantics:    Move the cursor <Count> characters in the current
  3832.             direction.  The end of line terminator is counted
  3833.             as a  character.
  3834.  
  3835.     9.4.1.8                @F
  3836.  
  3837.                       Find
  3838.  
  3839.     Syntax:     {+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
  3840.  
  3841.     Semantics:    If  the  <String>  is not empty load it  into  an
  3842.             internal buffer called the current search string.
  3843.             The  search  for  an  occurrence  of  the current
  3844.             search    string in the current direction and place
  3845.             the  cursor  over  the    first  character  in  the
  3846.             occurrence.  The search is case insensitive.
  3847.  
  3848.     9.4.1.9                @L
  3849.  
  3850.                       Line
  3851.  
  3852.     Syntax:     {+|-|<|>}{<Count>}@L
  3853.  
  3854.     Semantics:    Move  the  cursor to the <Count>'th start of line
  3855.             in  the  current direction.  The start of line is
  3856.             the  first   character    on  the  line,    blank  or
  3857.             non-blank.  0-@L is  a    special case, which stays
  3858.             at the beginning of the current line.
  3859.  
  3860.     9.4.1.10               @M
  3861.  
  3862.                       Mark
  3863.  
  3864.     Syntax:     {<Count>}@M
  3865.  
  3866.     Semantics:    Move  the  cursor  to  the  position  in the file
  3867.             where the  cursor  was when a :M command with the
  3868.             same count was executed last.  Valid counts are 1
  3869.             through 10.  An error message is  displayed if an
  3870.             invalid  count is given or a :M command  has  not
  3871.             previously been executed with the same count.
  3872.  
  3873.     9.4.1.11               @N
  3874.  
  3875.                       Next
  3876.  
  3877.     Syntax:     {+|-|<|>}{<Count>}@N
  3878.  
  3879.     Semantics:    Move  the cursor to the <Count>'th occurrence  in
  3880.             the current direction of the string last given in
  3881.             an  @F    command.   The cursor is placed over  the
  3882.             first character  of  the  string.   The search is
  3883.             case insensitive.
  3884.  
  3885.     9.4.1.12              @PAG
  3886.  
  3887.                       Page
  3888.  
  3889.     Syntax:     {+|-|<|>}{<Count>}@PAG
  3890.  
  3891.     Semantics:    Move  the cursor to the first character after the
  3892.             <Count>'th ASCII  <FF>    in the current direction.
  3893.             If  there  are    <Count>-1  ASCII  <FF>'s  in  the
  3894.             current direction the cursor  will  be    placed at
  3895.             the beginning of the file  if  the  direction  is
  3896.             backwards  or  at  the end of  the  file  if  the
  3897.             direction is forward.
  3898.  
  3899.     9.4.1.13              @PAR
  3900.  
  3901.                    Paragraph
  3902.  
  3903.     Syntax:     {+|-|<|>}{<Count>}@PAR
  3904.  
  3905.     Semantics:    Move  the  cursor  to  the  <Count>'th    start  of
  3906.             paragraph in the current direction.  If there are
  3907.             exactly  <Count>-1 beginning  of  paragraphs  the
  3908.             cursor will be placed  at  the    beginning  of the
  3909.             file if the direction is  backward  or at the end
  3910.             of  the  file if the direction    is  forward.    A
  3911.             beginning  of  paragraph  is a sequence of  ASCII
  3912.             space, tab and line feeds containing at least two
  3913.             line  feeds.   The cursor is placed on the  first
  3914.             character after  the  string  of spaces, tabs and
  3915.             line feeds.
  3916.  
  3917.     9.4.1.14              @SCR
  3918.  
  3919.                       Screen
  3920.  
  3921.     Syntax:     {+|-|<|>}{<Count>}@SCR
  3922.  
  3923.     Semantics:    Move <Count> times one    less  than  the number of
  3924.             lines in the current window  lines in the current
  3925.             direction.
  3926.  
  3927.  
  3928.     9.4.1.15              @SEN
  3929.  
  3930.                     Sentence
  3931.  
  3932.     Syntax:     {+|-|<|>}{<Count>}@SEN
  3933.  
  3934.     Semantics:    Move to the  <Count>'th  start of sentence in the
  3935.             current direction.  A  start  of  sentence is the
  3936.             first character after a string    of  ASCII spaces,
  3937.             tabs, line feeds,  <.>,  <;>,  <?>,  <!>,  or <:>
  3938.             containing  exactly one line feed, <.>, <;>, <?>,
  3939.             <!>,  or  <:>  .  If there are exactly    <Count>-1
  3940.             sentences  the cursor will be placed at the start
  3941.             of the    file  if the direction is backwards or at
  3942.             the end of the file if the direction is forward.
  3943.  
  3944.     9.4.1.16               @SR
  3945.  
  3946.                   Select Range
  3947.  
  3948.     Syntax:     @SR
  3949.  
  3950.     Semantics:    Move the cursor to the    point  the  cursor was at
  3951.             the last time a :SEL command  was  executed.   An
  3952.             error message is displayed if a :SEL command  has
  3953.             not been executed.
  3954.  
  3955.     9.4.1.17               @V
  3956.  
  3957.                     Vertical
  3958.  
  3959.     Syntax:     {+|-|<|>}{<Count>}@V
  3960.  
  3961.     Semantics:    Move  the  cursor  <Count>  lines  in the current
  3962.             direction.   SEDT attempts to position the cursor
  3963.             at the same  column as the cursor was at before a
  3964.             series of @V commands were issued.  The cursor is
  3965.             never placed further to the right than one column
  3966.             to the right of the last character on a line.  If
  3967.             the    line  contains  ASCII  tab  characters  or
  3968.             characters    that    SEDT     represents    with
  3969.             multi-character sequences it may  not  be able to
  3970.             position at exactly the same column.
  3971.  
  3972.             A series of these commands will  attempt  to keep
  3973.             the cursor at the column it was at when the first
  3974.             command was executed.
  3975.  
  3976.     9.4.1.18               @W
  3977.  
  3978.                       Word
  3979.  
  3980.     Syntax:     {+|-|<|>}{<Count>}@W
  3981.  
  3982.     Semantics:    Move  the  cursor <Count> words  in  the  current
  3983.             direction.    A  word is either  an  alphanumeric
  3984.             string    containing  underscores  <_> or printable
  3985.             ASCII characters or  a    single    non-alphanumeric,
  3986.             printable  ASCII  character.      The  cursor  is
  3987.             positioned over the first character in the word.
  3988.  
  3989.     9.4.1.19              @XNM
  3990.  
  3991.                     Next Mark
  3992.  
  3993.     Syntax:     @XNM
  3994.  
  3995.     Semantics:    Move to  the next marked position.  The next mark
  3996.             is the closest    in  the  current  direction.   An
  3997.             error is caused if there are no more marks in the
  3998.             current direction.
  3999.  
  4000.     9.4.1.20              @XSR
  4001.  
  4002.                Select Range with no clear
  4003.  
  4004.     Syntax:     @XSR
  4005.  
  4006.     Semantics:    Exactly the same as @SR, but the select region is
  4007.             not cleared.
  4008.  
  4009.     9.4.2.1                :A
  4010.  
  4011.                     Advance
  4012.  
  4013.     Syntax:     :A
  4014.  
  4015.     Semantics:    Set  the default  direction  for  cursor-movement
  4016.             commands to be    forward  toward  the  end  of the
  4017.             file.
  4018.  
  4019.             The default direction is displayed  on    the  mode
  4020.             line of the display.
  4021.  
  4022.     9.4.2.2                :B
  4023.  
  4024.                     Backward
  4025.  
  4026.     Syntax:     :B
  4027.  
  4028.     Semantics:    Set  the  default  direction for  cursor-movement
  4029.             commands to be backward  toward  the start of the
  4030.             file.
  4031.  
  4032.             The  default direction is displayed on    the  mode
  4033.             line of the display.
  4034.  
  4035.     9.4.2.3                :CB
  4036.  
  4037.                  Cursor at Bottom
  4038.  
  4039.     Syntax:     :CB
  4040.  
  4041.     Semantics:    Scrolls the  current  window  to place the cursor
  4042.             line at the  next to last line in the window.  Is
  4043.             only available in full screen editing mode.
  4044.  
  4045.     9.4.2.4                :CC
  4046.  
  4047.                   Change Case
  4048.  
  4049.     Syntax:     :CC<@ command>
  4050.  
  4051.     Semantics:    Switch    all  lower  case characters to upper case
  4052.             and  all upper case characters to lower case from
  4053.             the  current  cursor  position    to  the  position
  4054.             defined by the @ command.
  4055.  
  4056.     9.4.2.5                :CD
  4057.  
  4058.                   Change to Lower case
  4059.  
  4060.     Syntax:     :CD<@ command>
  4061.  
  4062.     Semantics:    Change all upper  case    characters  to lower case
  4063.             from the current cursor  position to the position
  4064.             defined by the @ command.
  4065.  
  4066.     9.4.2.6                :CE
  4067.  
  4068.                  Change Case Edt Style
  4069.  
  4070.     Syntax:     <Count>:CE
  4071.  
  4072.     Semantics:    Change    the  case  of     alphabetic    characters
  4073.             according to the following rules:
  4074.  
  4075.             If  a  select range is    active    change    the  case
  4076.             within the select range.  Otherwise,  if the last
  4077.             command  was a search command change the case  of
  4078.             the string found by the search.  Otherwise change
  4079.             the case  of  <Count>  characters from the cursor
  4080.             position.
  4081.  
  4082.     9.4.2.7                :CH
  4083.  
  4084.                  Insert ASCII Character
  4085.  
  4086.     Syntax:     <Count>:CH
  4087.  
  4088.     Semantics:    Insert    an  ASCII   character  of  decimal  value
  4089.             <Count> at the cursor position.
  4090.  
  4091.     9.4.2.8                :CK
  4092.  
  4093.                 Checkpoint buffer
  4094.  
  4095.     Syntax:     :CK
  4096.  
  4097.     Semantics:    Perform an autosave on the current buffer exactly
  4098.             as if an automatic autosave had happened.
  4099.  
  4100.     9.4.2.9                :CL
  4101.  
  4102.                   Center Line
  4103.  
  4104.     Syntax:     :CL
  4105.  
  4106.     Semantics:    Center    the line containing  the  cursor  between
  4107.             the left and right margins (denoted by L and R or
  4108.             J in the ruler line).
  4109.  
  4110.     9.4.2.10               :CM
  4111.  
  4112.                  Cursor at Middle
  4113.  
  4114.     Syntax:     :CM
  4115.  
  4116.     Semantics:    Scrolls the  current  window  to place the cursor
  4117.             line on the middle  line  in the window.  Is only
  4118.             available in full screen editing mode.
  4119.  
  4120.     9.4.2.11              :CNA
  4121.  
  4122.                   Add number to counter
  4123.  
  4124.     Syntax:     :CNA{#<Letter>}
  4125.  
  4126.     Semantics:    Add the  contents  of the buffer, starting at the
  4127.             current cursor position as an  integer    up to the
  4128.             first non-numeric character, to the value  of the
  4129.             counter.  The value  can  be preceded by a + or -
  4130.             character.  If #<Letter> is  included  the  value
  4131.             will  be  taken  from  the  variable    <Letter>.
  4132.             Omitting  #<Letter>  has the same effects as  #A.
  4133.             <Letter> must be in the range A to Z.
  4134.  
  4135.     9.4.2.12              :CNG
  4136.  
  4137.                  Get counter from buffer
  4138.  
  4139.     Syntax:     :CNG{#<Letter>}
  4140.  
  4141.     Semantics:    Interpret the contents of the buffer, starting at
  4142.             the current cursor  position  as an integer up to
  4143.             the  first non-numeric character  and  place  the
  4144.             value in the counter.  The value can be preceeded
  4145.             by a  + or - character.  If #<Letter> is included
  4146.             the  value  will   be  taken  from  the  variable
  4147.             <Letter>.    Omitting  #<Letter>   has    the  same
  4148.             effects as #A.    <Letter> must be in  the  range A
  4149.             to Z.
  4150.  
  4151.     9.4.2.13              :CNI
  4152.  
  4153.              Increment or Decrement Counter
  4154.  
  4155.     Syntax:     {+|-}{<Count>}:CNI{#<Letter>}
  4156.  
  4157.     Semantics:    Increment  or    decrement  the    value  of  Sedt's
  4158.             internal  counter by <Count>.    If  #<Letter>  is
  4159.             included  the  value  will  be    taken    from  the
  4160.             variable  <Letter>.    Omitting #<Letter> has the
  4161.             same  effects  as  #A.     <Letter> must be in  the
  4162.             range A to Z.
  4163.  
  4164.     9.4.2.14              :CNP
  4165.  
  4166.             Insert Value of Counter in Buffer
  4167.  
  4168.     Syntax:     :CNP{#<Letter>}
  4169.  
  4170.     Semantics:    Insert    the  decimal  value  of  Sedt's  internal
  4171.             counter into the current  buffer  at  the  cursor
  4172.             location.   If    #<Letter>  is  included the value
  4173.             will  be  taken    from  the  variable    <Letter>.
  4174.             Omitting #<Letter>  has  the  same effects as #A.
  4175.             <Letter> must be in the range A to Z.
  4176.  
  4177.     9.4.2.15              :CNS
  4178.  
  4179.                   Set Value of Counter
  4180.  
  4181.     Syntax:     {+|-|}{<Count>}:CNS{#<Letter>}
  4182.  
  4183.     Semantics:    Set  the  value  of Sedt's  internal  counter  to
  4184.             <Count>.  If #<Letter> is included the value will
  4185.             be taken from the variable  <Letter>.     Omitting
  4186.             #<Letter> has the  same  effects as #A.  <Letter>
  4187.             must be in the range A to Z.
  4188.  
  4189.     9.4.2.16               :CS
  4190.  
  4191.                    Save Buffer Context
  4192.  
  4193.     Syntax:     :CS
  4194.  
  4195.     Semantics:    Save the  cursor  position,  all  marks  and  the
  4196.             current ruler in  a  file with the same file name
  4197.             as the output file  of    the  current  buffer, but
  4198.             with  the  extension  .CTX.     If   the  option
  4199.             CONTEXT=SAVED  is  set    these  setting    will   be
  4200.             restored when the file is opened for editing.
  4201.  
  4202.     9.4.2.17               :CT
  4203.  
  4204.                   Cursor at Top
  4205.  
  4206.     Syntax:     :CT
  4207.  
  4208.     Semantics:    Scrolls the  current  window  to place the cursor
  4209.             line at the second line  in  the window.  Is only
  4210.             available in full screen editing mode.
  4211.  
  4212.     9.4.2.18               :CU
  4213.  
  4214.                   Change to Upper Case
  4215.  
  4216.     Syntax:     :CU<@ command>
  4217.  
  4218.     Semantics:    Change all lower  case    characters  to upper case
  4219.             from the current cursor  position to the position
  4220.             defined by the @ command.
  4221.             
  4222.     9.4.2.19               :CW
  4223.     
  4224.               Change to Other Screen Window
  4225.     
  4226.     Syntax:     :CW
  4227.     
  4228.     Senamtics:    If the screen is in two window mode switch to the
  4229.             other window on  the  screen, otherwise switch to
  4230.             the previous buffer used.
  4231.  
  4232.     9.4.2.20               :D
  4233.  
  4234.                      Delete
  4235.  
  4236.     Syntax:     :D<@ command>
  4237.  
  4238.     Semantics:    Delete all characters from the    current  position
  4239.             to  the  position defined by the  @  command  and
  4240.             place  the  deleted  text in an internal  buffer.
  4241.             Separate buffers exist for different  @ commands;
  4242.             The  relationship  between @ commands and  delete
  4243.             buffers is:
  4244.  
  4245.                 @AC    Unknown
  4246.                 @AL    Unknown
  4247.                 @BB    Unknown
  4248.                 @EB    Unknown
  4249.                 @EL    Line
  4250.                 @C    Char
  4251.                 @F    Find
  4252.                 @L    Line
  4253.                 @M    Unknown
  4254.                 @N    Find
  4255.                 @PAG    Pag
  4256.                 @PAR    Par
  4257.                 @SEN    Sen
  4258.                 @SR    Paste
  4259.                 @V    Unknown
  4260.                 @W    Word
  4261.  
  4262.                 In insert mode    the  text will be removed
  4263.             entirely and the text  after  the  block  removed
  4264.             will  immediately  follow  the    text  before  the
  4265.             block.    In replace mode the block removed will be
  4266.             replaced  with    space  characters, preserving any
  4267.             line terminators.
  4268.  
  4269.     9.4.2.21              :EAP
  4270.  
  4271.                    Delete and Append
  4272.  
  4273.     Syntax:     :EAP<@ command>
  4274.  
  4275.     Semantics:    Delete all characters from the    current  position
  4276.             to  the  position defined by the  @  command  and
  4277.             appends the text to  the  contents of an internal
  4278.             buffer.  Separate buffers exist  for  different @
  4279.             commands;    The relationship between @  commands
  4280.             and delete buffers is:
  4281.  
  4282.                 @AC    Unknown
  4283.                 @AL    Unknown
  4284.                 @BB    Unknown
  4285.                 @EB    Unknown
  4286.                 @EL    Line
  4287.                 @C    Char
  4288.                 @F    Find
  4289.                 @L    Line
  4290.                 @M    Unknown
  4291.                 @N    Find
  4292.                 @PAG    Pag
  4293.                 @PAR    Par
  4294.                 @SEN    Sen
  4295.                 @SR    Paste
  4296.                 @V    Unknown
  4297.                 @W    Word
  4298.  
  4299.                 In insert mode    the  text will be removed
  4300.             entirely and the text  after  the  block  removed
  4301.             will  immediately  follow  the    text  before  the
  4302.             block.    In replace mode the block removed will be
  4303.             replaced with space  characters,  preserving  any
  4304.             line terminators.
  4305.  
  4306.     9.4.2.22               :EK
  4307.  
  4308.                    Execute Key
  4309.  
  4310.     Syntax:     :EK<Key>
  4311.  
  4312.     Semantics:    Execute the definition of <Key> exactly as  if it
  4313.             had  been  typed on the keyboard.  This  includes
  4314.             prompting for input and replacement of tokens.
  4315.  
  4316.             <Key>  is a code that identifies  the  class  and
  4317.             value of  the  key.  It consists of a three digit
  4318.             decimal number that defines the  value.  <Key> is
  4319.             the index into the key mapping table described in
  4320.             chapter 7 of this manual.  Normally  the value is
  4321.             inserted into the command with the !  contruct.
  4322.  
  4323.     9.4.2.23               :EL
  4324.  
  4325.                 Set error level
  4326.  
  4327.     Syntax:     <Count>:EL
  4328.  
  4329.     Semantics:    Set the error level to ring the bell at <count>
  4330.             3: All errors
  4331.             2: All errors except entity errors (default)
  4332.             1: Only serious and fatal errors
  4333.             0: never
  4334.  
  4335.     9.4.2.24              :ERC
  4336.  
  4337.                 Clear Edit Region
  4338.  
  4339.     Syntax:     :ERC
  4340.  
  4341.     Semantics:    Cancels any edit region in effect.
  4342.  
  4343.     9.4.2.25              :ERS
  4344.  
  4345.                  Set Edit Region
  4346.  
  4347.     Syntax:     :ERS<@ Command>
  4348.  
  4349.     Semantics:    Sets the edit region of the  current buffer to go
  4350.             from  the  current  cursor position to the  point
  4351.             defined by <@ Command>.
  4352.  
  4353.             As long as an edit region is in effect the cursor
  4354.             cannot    be  moved  outside  it, thus limiting any
  4355.             editing operations be happen within the region.
  4356.  
  4357.     9.4.2.26               :FE
  4358.  
  4359.                    Edit File
  4360.  
  4361.     Syntax:     <Count>:FE<Delimiter><File Name><Delimiter>
  4362.  
  4363.     Semantics:    If the current buffer contains modified text  the
  4364.             user is asked whether the current contents should
  4365.             be saved.  If affirmative, the contents are saved
  4366.             in  the    current  output  file,  otherwise  the
  4367.             contents  are discarded.   The    contents  of  the
  4368.             buffer    are  then  cleared.    The   <File  Name>
  4369.             argument is assigned to the input file    name  and
  4370.             output    file  name of the current buffer and  the
  4371.             file is read into the buffer if it  exists.   The
  4372.             cursor    is  placed  at the first character of the
  4373.             file.
  4374.     
  4375.             If <Count>  is zero the buffer will be read-only.
  4376.             The file will not be automatically saved on a :X.
  4377.  
  4378.     9.4.2.27               :FG
  4379.  
  4380.                     Get File
  4381.  
  4382.     Syntax:     :FG<Delimiter><File Name><Delimiter>
  4383.  
  4384.     Semantics:    Read  the  contents  of the file into the current
  4385.             buffer    at the    current  cursor  position.    The
  4386.             cursor is placed at the first character read in.
  4387.  
  4388.     9.4.2.28              :FNL
  4389.  
  4390.                    Font Larger
  4391.  
  4392.     Syntax:     :FNL
  4393.  
  4394.     Semantics:    Select the  next  larger font that the system can
  4395.             display.
  4396.  
  4397.     9.4.2.29              :FNS
  4398.  
  4399.                    Font Smaller
  4400.  
  4401.     Syntax:     :FNS
  4402.  
  4403.     Semantics:    Select the next  smaller font that the system can
  4404.             display.
  4405.  
  4406.     9.4.2.30               :FS
  4407.  
  4408.                    Save File
  4409.  
  4410.     Syntax:     :FS<Delimiter><File Name><Delimiter>
  4411.  
  4412.     Semantics:    Save the contents of  the  current  buffer in the
  4413.             file given in the <File  Name>    argument.  If the
  4414.             argument is empty, save in the output file of the
  4415.             current  buffer.   
  4416.  
  4417.     9.4.2.31               :FW
  4418.  
  4419.                     Write File
  4420.  
  4421.     Syntax:     :FW<Delimiter><File Name><Delimiter>
  4422.  
  4423.     Semantics:    Write the contents  of    the current buffer to the
  4424.             file given in the  <File  Name> argument.
  4425.  
  4426.     9.4.2.32               :FX
  4427.  
  4428.                   Execute File
  4429.  
  4430.     Syntax:     :FX<Delimiter><File Name><Delimiter>
  4431.  
  4432.     Semantics:    Read the file given  in  <File    Name> and execute
  4433.             each  line  as SEDT  commands.      ?,  !    and    %
  4434.             expansion is done before execution of each line.
  4435.  
  4436.     9.4.2.33              :GAP
  4437.  
  4438.                  Get and append
  4439.  
  4440.     Syntax:     :GAP<@ command>
  4441.  
  4442.     Semantics:    Append    the   text  between  the  current  cursor
  4443.             position  and  the  position  defined  by  the    @
  4444.             command to the contents  of  an  internal buffer.
  4445.             The text is not deleted  from the current buffer.
  4446.             Several buffers are used for different @ commands
  4447.             as follows:
  4448.  
  4449.                 @AC    Unknown
  4450.                 @AL    Unknown
  4451.                 @BB    Unknown
  4452.                 @EB    Unknown
  4453.                 @EL    Line
  4454.                 @C    Char
  4455.                 @F    Find
  4456.                 @L    Line
  4457.                 @M    Unknown
  4458.                 @N    Find
  4459.                 @PAG    Pag
  4460.                 @PAR    Par
  4461.                 @SEN    Sen
  4462.                 @SR    Paste
  4463.                 @V    Unknown
  4464.                 @W    Word
  4465.  
  4466.     9.4.2.34               :GE
  4467.  
  4468.                       Get
  4469.  
  4470.     Syntax:     :GE<@ command>
  4471.  
  4472.     Semantics:    Place  the  text  between  the    current    cursor
  4473.             position  and  the  position  defined  by  the    @
  4474.             command and  place it in an internal buffer.  The
  4475.             text is not  deleted  from  the  current  buffer.
  4476.             Several buffers are used for different @ commands
  4477.             as follows:
  4478.  
  4479.                 @AC    Unknown
  4480.                 @AL    Unknown
  4481.                 @BB    Unknown
  4482.                 @EB    Unknown
  4483.                 @EL    Line
  4484.                 @C    Char
  4485.                 @F    Find
  4486.                 @L    Line
  4487.                 @M    Unknown
  4488.                 @N    Find
  4489.                 @PAG    Pag
  4490.                 @PAR    Par
  4491.                 @SEN    Sen
  4492.                 @SR    Paste
  4493.                 @V    Unknown
  4494.                 @W    Word
  4495.  
  4496.     9.4.2.35               :GR
  4497.  
  4498.                    Get ruler
  4499.  
  4500.     Syntax:     <Count>:GR
  4501.  
  4502.     Semantics:    Read  the  contents  of the file RULER<Count>.TXT
  4503.             and  define  the  ruler from the contents of  the
  4504.             file.     The  file should have been written by    a
  4505.             save ruler command within the :RL command.  On PC
  4506.             versions the file should  be  located  in  SEDT's
  4507.             master directory.  Under VMS  the  file is should
  4508.             be placed in the directory defined by the logical
  4509.             variable SEDT$DIR.
  4510.  
  4511.     9.4.2.36               :H
  4512.  
  4513.                       Help
  4514.  
  4515.     Syntax:     :H<Delimiter><Help file><Delimiter>
  4516.  
  4517.     Semantics:    Read the help and display it page by  page on the
  4518.             screen.   If  <Help  file> is empty the help file
  4519.             used is HELP.EDT  or  HELP.WPS    depending  on the
  4520.             editing style.    
  4521.  
  4522.             
  4523.     
  4524.     9.4.2.37               :I
  4525.  
  4526.                      Insert
  4527.  
  4528.     Syntax:     :I<Delimiter><Any text><Delimiter>
  4529.  
  4530.     Semantics:    Insert    the  text  in  the  current buffer.   The
  4531.             cursor    is    placed   after  the  last  inserted
  4532.             character.
  4533.  
  4534.     9.4.2.38               :KF
  4535.  
  4536.                Define key function string
  4537.  
  4538.     Syntax:     :KF<Key><Delimiter><Definition><Delimiter>
  4539.  
  4540.     Semantics:        Program  the  key given in <Key> to  perform  the
  4541.             commands given    in <Definition>.  If <Definition>
  4542.             ends with a  period the commands will be executed
  4543.             when the key is  pressed, otherwise the execution
  4544.             is stored and executed when  a    key ending with a
  4545.             period is struck.
  4546.  
  4547.             <Key>  is a code that identifies  the  class  and
  4548.             value of  the  key.  It consists of a three digit
  4549.             decimal number that defines the value.     <Key> is
  4550.             the index into the key mapping table described in
  4551.             chapter 7 of this manual.  Normally the  value is
  4552.             inserted into the command with the !  contruct.
  4553.  
  4554.     9.4.2.39               :KN
  4555.  
  4556.                Define key function number
  4557.  
  4558.     Syntax:     <Number>:KN<Key>
  4559.  
  4560.     Semantics:        Program  the  key given in <Key> to  perform  the
  4561.             commands given    in function number <Number>.
  4562.  
  4563.             <Key>  is a code that identifies  the  class  and
  4564.             value of  the  key.  It consists of a three digit
  4565.             decimal  number that defines the value.  <Key> is
  4566.             the index into the key mapping table described in
  4567.             chapter 7 of  this manual.  Normally the value is
  4568.             inserted into the command with the !  contruct.
  4569.  
  4570.     9.4.2.40               :LD
  4571.  
  4572.               Decrease indentation
  4573.  
  4574.     Syntax:     {<Count>}:LD
  4575.  
  4576.     Semantics:    Reduce    the indentation level by  <Count>,  which
  4577.             defaults to 1.    The :TAB command moves the cursor
  4578.             to the indentation level if the cursor    is placed
  4579.             to  the  left  of  the    indentation  level.   The
  4580.             indentation level is shown with an I on the ruler
  4581.             display.
  4582.  
  4583.     9.4.2.41               :LI
  4584.  
  4585.               Increase indentation
  4586.  
  4587.     Syntax:     {<Count>}:LI
  4588.  
  4589.     Semantics:    Increase the indentation  level by <Count>, which
  4590.             defaults to 1.    The :TAB command moves the cursor
  4591.             to the indentation level if  the cursor is placed
  4592.             to  the  left  of  the indentation  level.    The
  4593.             indentation level is shown with an I on the ruler
  4594.             display.
  4595.  
  4596.     9.4.2.42               :LK
  4597.  
  4598.               Load key definition
  4599.  
  4600.     Syntax:     :LK<Key><@ Command>
  4601.  
  4602.     Semantics:    Program  the  key  given in <Key> to contain  the
  4603.             contents of  the  given  entity.   See :K for the
  4604.             valid codes for <Key>.
  4605.  
  4606.     9.4.2.43              :LNE
  4607.  
  4608.             Execute keystrokes stored in key
  4609.  
  4610.     Syntax:     {<Count>}:LNE<Key>
  4611.  
  4612.     Semantics:    Interpret the  programming  of the key defined by
  4613.             <Key> as a  sequence  of  keystrokes.  The key is
  4614.             assumed to have been  programmed  through the use
  4615.             of the :LNL command.  See :K for a description of
  4616.             valid codes for <Key>.
  4617.  
  4618.     9.4.2.44              :LNL
  4619.  
  4620.             Store keystrokes in key
  4621.  
  4622.     Syntax:     :LNL<Key>
  4623.  
  4624.     Semantics:    Store subsequent keystrokes in the programming of
  4625.             the  key  defined  by  <Key>  until that  key  is
  4626.             struck.  The keystrokes are executed as they  are
  4627.             stored.   The commands :LNL and :LNE are used  to
  4628.             store  the  keystrokes     required  to  perform    a
  4629.             repeated task and then    perform  the task without
  4630.             having to repeat the keystroke    sequence.  See :K
  4631.             for a description of valid codes for <Key>.
  4632.  
  4633.             The stored keystrokes are encoded as  a  code for
  4634.             the class of the key followed by  either an ASCII
  4635.             character or a 3 digit ASCII value for the key.
  4636.  
  4637.             Codes are:
  4638.  
  4639.                 A    ASCII character
  4640.                 G    Gold ASCII character
  4641.                 F    Function key
  4642.                 B    Gold function key
  4643.  
  4644.             For printable  ASCII  characters,  except digits,
  4645.             the code is followed by the character.    Otherwise
  4646.             the code is followed  by  a  3 digit function key
  4647.             number,  see :K for valid  values,  or    an  ASCII
  4648.             character value.
  4649.  
  4650.     9.4.2.45              :LNX
  4651.  
  4652.                   End learning
  4653.  
  4654.     Syntax:     :LNX
  4655.  
  4656.     Semantics:    Terminate keystroke  learning if it is in effect.
  4657.             This command has  no effect if keystroke learning
  4658.             is not in effect.
  4659.  
  4660.     9.4.2.46               :LS
  4661.  
  4662.              Set indentation level
  4663.  
  4664.     Syntax:     :LS
  4665.  
  4666.     Semantics:    Set the indentation level to the  current  cursor
  4667.             position.  The :TAB command moves the  cursor  to
  4668.             the indentation level if the cursor is placed  to
  4669.             the  left    of   the  indentation  level.    The
  4670.             indentation level is shown with an I on the ruler
  4671.             display.
  4672.  
  4673.     9.4.2.47               :M
  4674.  
  4675.               Mark cursor position
  4676.  
  4677.     Syntax:     {-}{<Count>}:M
  4678.  
  4679.     Semantics:    Store the current cursor  position  in    one  of 9
  4680.             marks.    <Count>, which defaults  to  1, specifies
  4681.             the mark to save the position  in.    Valid marks
  4682.             are 1 through 9.  As text is inserted and deleted
  4683.             from  the  buffer marks are adjusted to point  to
  4684.             the same logical positions in the file.
  4685.  
  4686.             -<Count>:M clears mark number <Count>.
  4687.  
  4688.     9.4.2.48               :NL
  4689.  
  4690.                 New line
  4691.  
  4692.     Syntax:     {<Count>}:NL
  4693.  
  4694.     Semantics:    Insert    a  new    line  at  the cursor position and
  4695.             advance  the  cursor  to the beginning of the new
  4696.             line.
  4697.  
  4698.             If the    ruler  line  has automatic margin control
  4699.             set the margin    is  set to the leftmost character
  4700.             position not containing spaces    and  tabs  in the
  4701.             line the cursor was on.  If the old line had only
  4702.             spaces    or tabs the automatic margin  is  set  to
  4703.             column    1.    Finally insert spaces and  tabs  to
  4704.             advance  the  cursor to the automatic margin just
  4705.             defined.    The  result will be that left margins
  4706.             will line up at any column position.
  4707.  
  4708.             If a non-automatic left margin is set  spaces and
  4709.             tabs  are  inserted  to advance the cursor to the
  4710.             left margin.
  4711.  
  4712.     9.4.2.49               :NS
  4713.  
  4714.                 Substitute next
  4715.  
  4716.     Syntax:     {+|-|<|>}{<Count>}:NS
  4717.  
  4718.     Semantics:    Search in the current  direction  for the current
  4719.             search    string and if it  is  found  replace  the
  4720.             occurrence  with the current  substitute  string.
  4721.             If the cursor is placed on the first character of
  4722.             an occurrence the first substitution will be made
  4723.             on that occurrence.  The current search string is
  4724.             set  with  @F.      :SL  or  :SUB.     The  current
  4725.             substitute  string is set with :SUB.  The  search
  4726.             is case insensitive.
  4727.  
  4728.     9.4.2.50               :OE
  4729.  
  4730.               Output error message
  4731.  
  4732.     Syntax:     <Count>:OE<Delimiter><Message><Delimiter>
  4733.  
  4734.     Semantics:    Output <Message> exactly  as  an  internal  error
  4735.             message from SEDT and  perform    the  normal error
  4736.             skipping of  commands.     Count is used to set the
  4737.             error level.
  4738.  
  4739.     9.4.2.51               :OL
  4740.  
  4741.                    Open line
  4742.  
  4743.     Syntax:     {<Count>}:OL
  4744.  
  4745.     Semantics:    Insert <Count>, which defaults to  1,  line feeds
  4746.             after the current cursor position.
  4747.  
  4748.     9.4.2.52               :OM
  4749.  
  4750.                  Output message
  4751.  
  4752.     Syntax:     :OM<Delimiter><Message><Delimiter>
  4753.  
  4754.     Semantics:    Output    <Message>  on  the  message line  of  the
  4755.             display.
  4756.  
  4757.     9.4.2.53               :OS
  4758.  
  4759.                  Toggle over-strike mode
  4760.  
  4761.     Syntax:     :OS
  4762.  
  4763.     Semantics:    Switch between    insert    and  replace mode.
  4764.  
  4765.             In    insert  mode  typed  input  and  characters
  4766.             inserted  with    :I  are  inserted  at  the cursor
  4767.             position and  the  cursor  position  is advanced,
  4768.             thus pushing the  text    after the cursor in front
  4769.             of it.
  4770.  
  4771.             In  replace  mode  the    character  at the  cursor
  4772.             position  is  replaced    by  the  character  being
  4773.             inserted.   If    the  cursor  is at the end of the
  4774.             line the character  will  be inserted rather than
  4775.             replaced.  If the  cursor  is  at a tab character
  4776.             the tab will be expanded  to  spaces  before  the
  4777.             replacement takes place.
  4778.  
  4779.             The  current replace/insert mode is displayed  on
  4780.             the mode line of the display.
  4781.  
  4782.     9.4.2.54               :OW
  4783.  
  4784.                Switch to previous buffer
  4785.  
  4786.     Syntax:        :OW
  4787.  
  4788.     Semantics:    Switch to displaying the buffer that was selected
  4789.             before switching to the current.  In  two  window
  4790.             display  mode the displays in the top and  bottom
  4791.             windows will be switched.   If no buffer has been
  4792.             selected switch to buffer number 1.
  4793.  
  4794.     9.4.2.55               :PD
  4795.  
  4796.                   Insert current date
  4797.  
  4798.     Syntax:     :PD
  4799.  
  4800.     Semantics:    Insert    the  current  system  date in the format:
  4801.             DD-MMM-YYYY.   This  command  has  no  effect  on
  4802.             systems that do not maintain the current date.
  4803.  
  4804.     9.4.2.56               :PL
  4805.  
  4806.                    Load paste buffer
  4807.  
  4808.     Syntax:     :PL<Delimiter><File name><Delimiter>
  4809.  
  4810.     Semantics:    Insert the contents  of  the  file given in <File
  4811.             name>  in the paste  buffer.    This  command  is
  4812.             normally used in conjunction with the :PS command
  4813.             to  preserve  the  contents of the  paste  buffer
  4814.             across multiple sessions.
  4815.     
  4816.     9.4.2.57             :POPCH
  4817.     
  4818.             Restore saved buffer change flag
  4819.     
  4820.     Syntax:     :POPCH
  4821.     
  4822.     Semantics:    Restore a buffer change flag  that was previously
  4823.             saved with a :PUSHCH command.    PUSHCH    and POPCH
  4824.             commands can be nested up to 16 levels deep.
  4825.  
  4826.     9.4.2.58               :PR
  4827.  
  4828.                   Print current buffer
  4829.  
  4830.     Syntax:     :PR<Delimiter><File name><Delimiter>
  4831.  
  4832.     Semantics:    Save  the  current  buffer in the file    given  in
  4833.             <File name>.  After every 61 lines of output  and
  4834.             at  the end of the file a form feed character  is
  4835.             inserted.  If  any  character  is  typed  on  the
  4836.             keyboard  during the process  the  save  will  be
  4837.             terminated.
  4838.  
  4839.     9.4.2.59               :PS
  4840.  
  4841.                    Save paste buffer
  4842.  
  4843.     Syntax:     :PS<Delimiter><File name><Delimiter>
  4844.  
  4845.     Semantics:    Save the contents of the paste buffer in the file
  4846.             given in <File name>.  This  command  is normally
  4847.             used  in  conjunction with :PL to preserve  paste
  4848.             buffers across multiple edit sessions.
  4849.  
  4850.     9.4.2.60               :PT
  4851.  
  4852.                   Insert current time
  4853.  
  4854.     Syntax:     :PT
  4855.  
  4856.     Semantics:    Insert    the  current  system  time in the format:
  4857.             HH-MM-SS.   This command has no effect on systems
  4858.             that do not maintain the current date.
  4859.     
  4860.     9.4.2.61            :PUSHCH
  4861.     
  4862.             Save and clear buffer change flag
  4863.     
  4864.     Syntax:     :PUSHCH
  4865.     
  4866.     Semantics:    The buffer change flag is saved for  the  current
  4867.             buffer    and is then cleared.  The original  state
  4868.             of  the  flag  can  be    restored  with    a  :POPCH
  4869.             command.  :PUSHCH  and    :POPCH    commands  can  be
  4870.             nested up to 16 levels deep.
  4871.  
  4872.     9.4.2.62               :Q
  4873.  
  4874.                       Quit
  4875.  
  4876.     Syntax:     :Q
  4877.  
  4878.     Semantics:    Terminate the Sedt session if no  buffers contain
  4879.             modified text.    If a buffer has been modified ask
  4880.             for confirmation and, if positive, terminate the
  4881.             session.    ATARI  GEM    and    Microsoft  Windows
  4882.             versions will only close the current window.
  4883.  
  4884.     9.4.2.63              :REP
  4885.  
  4886.                     Replace
  4887.  
  4888.     Syntax:     :REP
  4889.  
  4890.     Semantics:    If  the  last  command    was @F or @N  remove  the
  4891.             occurrence  found  and    insert    it in the unknown
  4892.             delete buffer.      Then insert the contents of the
  4893.             paste buffer.
  4894.  
  4895.     9.4.2.64               :RF
  4896.  
  4897.                 Refresh display
  4898.  
  4899.     Syntax:     :RF
  4900.  
  4901.     Semantics:    Clear and reinitialize    the  display  and rewrite
  4902.             it.    This  command  is  used    to  recover  from
  4903.             corruption of the display.
  4904.  
  4905.     9.4.2.65               :RK
  4906.  
  4907.                 Redefine key as character
  4908.  
  4909.     Syntax:     <Count>:RK<Key>
  4910.  
  4911.     Semantics:        Redefine the  key  given  in  <Key> to insert the
  4912.             character whose value is given in <Count>.
  4913.  
  4914.             <Key>  is a code that identifies  the  class  and
  4915.             value of  the  key.  It consists of a three digit
  4916.             decimal number that defines  the value.  <Key> is
  4917.             the index into the key mapping table described in
  4918.             chapter 7 of this manual.   Normally the value is
  4919.             inserted into the command with the !  contruct.
  4920.  
  4921.     9.4.2.66               :RL
  4922.  
  4923.                      Ruler
  4924.  
  4925.     Syntax:     :RL
  4926.  
  4927.     Semantics:    Switch into ruler definition mode.  The cursor is
  4928.             placed    on  the  first    character  on  the  ruler
  4929.             display  in  the  second  line    of  the   screen.
  4930.             Commands that affect the ruler are:
  4931.  
  4932.             Right arrow    Moves the cursor one character to
  4933.                     the right.  The column number can
  4934.                     be read on the status line.
  4935.  
  4936.             Left arrow    Moves  the cursor one  column  to
  4937.                     the left.
  4938.  
  4939.             -         Removes a tab stop at the current
  4940.                     position.
  4941.  
  4942.             Tab        Moves to next tab stop
  4943.  
  4944.             ^H        Moves to column 1
  4945.  
  4946.             T        Inserts a tab stop at the current
  4947.                     position
  4948.  
  4949.             L        Sets   the  left  margin  to  the
  4950.                     current position.   When a Return
  4951.                     is  entered the  cursor  will  be
  4952.                     indented to the left margin.
  4953.  
  4954.             R        Sets  the  right  margin  to  the
  4955.                     current  position.  If the  right
  4956.                     margin    is  reached when entering
  4957.                     text, a  new line will be entered
  4958.                     before the word  being    typed and
  4959.                     the word will be  indented to the
  4960.                     word wrap margin.
  4961.  
  4962.             J        Sets  the  right  margin  to  the
  4963.                     current  position.   If the right
  4964.                     margin is  reached  when entering
  4965.                     text, a new  line will be entered
  4966.                     before the word being  typed  and
  4967.                     the word will be indented  to the
  4968.                     word wrap margin after adjustment
  4969.                     of the text to the right margin.
  4970.  
  4971.             W        Sets the  word wrap margin to the
  4972.                     current position.   W  fixes  the
  4973.                     word wrap position.
  4974.  
  4975.             A        Sets  automatic  margin  control.
  4976.                     The margin is always the leftmost
  4977.                     non-blank position on the current
  4978.                     line.
  4979.  
  4980.             I        Sets  the    indentation  at  the
  4981.                     current position.
  4982.  
  4983.             Space        Removes  all formatting  controls
  4984.                     at the current position.
  4985.  
  4986.             Digit         Load  saved  ruler number  digit.
  4987.                     The  rulers are saved  in  SEDT's
  4988.                     master directory under MS-DOS and
  4989.                     in  the  directory  pointed to by
  4990.                     the logical  name  SEDT$Dir under
  4991.                     VMS.  The  name of the ruler file
  4992.                     is  RulerN.Txt    where  N  is  the
  4993.                     number of the ruler.
  4994.  
  4995.             Gold Digit    Save current ruler in saved ruler
  4996.                     number digit.
  4997.  
  4998.             Return        Returns  from  ruler   definition
  4999.                     mode to normal edit mode.
  5000.  
  5001.             If more than one  ruler setting is commonly used,
  5002.             much time can be saved by storing the settings in
  5003.             rulers 0 through 9.  Ruler 0 is loaded by default
  5004.             and any of the other rulers can be called up with
  5005.             four key strokes:  Gold R Digit Return.
  5006.  
  5007.             The  ruler  line  controls  both  left    and right
  5008.             margins.  Several  options  exist for controlling
  5009.             the margins.
  5010.  
  5011.             No margin control is  done  if    L, W, R and I are
  5012.             set in column 1.   Lines  can  be infinitely long
  5013.             and the cursor is always positioned  in  column 1
  5014.             after a Return is typed.
  5015.  
  5016.             If L is set in a column different from 1 and W is
  5017.             set  in  column  1  a Return will cause  SEDT  to
  5018.             indent to the column defined by L.
  5019.  
  5020.             If I is set in a column different from    1 and the
  5021.             cursor    is positioned to the left of the column a
  5022.             Tab will indent to the column defined by I.
  5023.  
  5024.             The  left  and    right  margin  controls  work  as
  5025.             follows:
  5026.  
  5027.             W and R:
  5028.  
  5029.                 When a non-blank character  is    typed  to
  5030.                 the right of R SEDT  will insert a Return
  5031.                 in front of the first word  that  extends
  5032.                 to  the right of R and indent  to  the    W
  5033.                 column.    The    effect    will be that text
  5034.                 will be filled between W and R.  The fill
  5035.                 command, Gold Keypad  8  will  fill  text
  5036.                 from the current cursor  position  to the
  5037.                 end of the current paragraph.     Text  to
  5038.                 the left of W will be left unaffected.
  5039.  
  5040.             W and J:
  5041.  
  5042.                 When  a  non-blank character is typed  to
  5043.                 the  right  of    J  SEDT  will change  the
  5044.                 spacing between  the current position and
  5045.                 W  so  that   spacing  after  punctuation
  5046.                 characters will be exactly  2  and  after
  5047.                 non-punctuation characters will be 1.    A
  5048.                 return    will then be inserted before  the
  5049.                 first  word that extends to the right  of
  5050.                 J,  after  which  spaces will be inserted
  5051.                 between words  until  the right margin is
  5052.                 justified to J.  Finally the wrapped word
  5053.                 will be indented to  W.  Text to the left
  5054.                 of W will be left unaffected.
  5055.  
  5056.             A and R:
  5057.  
  5058.                 When a non-blank character is inserted to
  5059.                 the right of  R a return will be inserted
  5060.                 in front of the  first    word that extends
  5061.                 to the right of R.    The  text after the
  5062.                 return will be indented to the same level
  5063.                 as the line just terminated.
  5064.  
  5065.             A and J:
  5066.  
  5067.                 When  a  non-blank  character is typed to
  5068.                 the  right  of    J  SEDT  will  change the
  5069.                 spacing  between all words to the left of
  5070.                 the  current  position    so  that  spacing
  5071.                 after  punctuation  characters     will  be
  5072.                 exactly  2  and  after      non-punctuation
  5073.                 characters will be 1.  A return will then
  5074.                 be  inserted  before the first word  that
  5075.                 extends  to  the right of J, after  which
  5076.                 spaces will  be  inserted  between  words
  5077.                 until the right  margin  is  justified to
  5078.                 the  same  level  as    the    line  just
  5079.                 terminated.
  5080.  
  5081.             W to the right of, or at J/R:
  5082.  
  5083.                 No filling or justification will occur.
  5084.  
  5085.             A to the right of or at J/R:
  5086.  
  5087.                 When a Return is typed the cursor will be
  5088.                 indented  to the same level as    the  line
  5089.                 just  terminated.  If the terminated line
  5090.                 is  empty   the  indentation  level  will
  5091.                 remain    unchanged.    This    mode   is
  5092.                 particularly    useful      for  structured
  5093.                 programming.
  5094.  
  5095.     9.4.2.67             :RMCHA
  5096.  
  5097.               Clear character delete buffer
  5098.  
  5099.     Syntax:     :RMCHA
  5100.  
  5101.     Semantics:    Clear  the   contents  of  the    character  delete
  5102.             buffer.
  5103.  
  5104.     9.4.2.68             :RMHEL
  5105.  
  5106.                 Clear help buffer
  5107.  
  5108.     Syntax:     :RMHEL
  5109.  
  5110.     Semantics:    Clear the contents of the help buffer.
  5111.  
  5112.     9.4.2.69             :RMLIN
  5113.  
  5114.                  Clear line delete buffer
  5115.  
  5116.     Syntax:     :RMLIN
  5117.  
  5118.     Semantics:    Clear the contents of the line delete buffer.
  5119.  
  5120.     9.4.2.70             :RMPAG
  5121.  
  5122.                  Clear page delete buffer
  5123.  
  5124.     Syntax:     :RMPAG
  5125.  
  5126.     Semantics:    Clear the contents of the page delete buffer.
  5127.  
  5128.     9.4.2.71             :RMPAR
  5129.  
  5130.               Clear paragraph delete buffer
  5131.  
  5132.     Syntax:     :RMPAR
  5133.  
  5134.     Semantics:    Clear  the  contents   of  the    paragraph  delete
  5135.             buffer.
  5136.  
  5137.     9.4.2.72             :RMPAS
  5138.  
  5139.                 Clear paste buffer
  5140.  
  5141.     Syntax:     :RMPAS
  5142.  
  5143.     Semantics:    Clear the contents of the paste buffer.
  5144.  
  5145.     9.4.2.73             :RMSEA
  5146.  
  5147.                    Clear search buffer
  5148.  
  5149.     Syntax:     :RMSEA
  5150.  
  5151.     Semantics:    Clear the contents of the search buffer.
  5152.  
  5153.     9.4.2.74             :RMSEN
  5154.  
  5155.                Clear sentence delete buffer
  5156.  
  5157.     Syntax:     :RMSEN
  5158.  
  5159.     Semantics:    Clear the contents of the sentence delete buffer.
  5160.  
  5161.     9.4.2.75             :RMSUB
  5162.  
  5163.                  Clear substitute buffer
  5164.  
  5165.     Syntax:     :RMSUB
  5166.  
  5167.     Semantics:    Clear the contents of the substitute buffer.
  5168.  
  5169.     9.4.2.76             :RMUNK
  5170.  
  5171.                Clear unknown delete buffer
  5172.  
  5173.     Syntax:     :RMUNK
  5174.  
  5175.     Semantics:    Clear the contents of the unknown delete buffer.
  5176.  
  5177.     9.4.2.77             :RMWOR
  5178.  
  5179.                  Clear word delete buffer
  5180.  
  5181.     Syntax:     :RMWOR
  5182.  
  5183.     Semantics:    Clear the contents of the word delete buffer.
  5184.  
  5185.     9.4.2.78               :RS
  5186.  
  5187.                    Reset select range
  5188.  
  5189.     Syntax:     :RS
  5190.  
  5191.     Semantics:    Remove the select point and  repaint  the current
  5192.             window.
  5193.  
  5194.     9.4.2.79              :RTAB
  5195.  
  5196.                 Replace tabs with spaces
  5197.  
  5198.     Syntax:     :RTAB<@ command>
  5199.  
  5200.     Semantics:    Within    the    given    entity    replace  all  tab
  5201.             characters with multiple spaces.
  5202.  
  5203.     9.4.2.80              :RUL
  5204.  
  5205.                  Load ruler from entity
  5206.  
  5207.     Syntax:        :RUL<@ command>
  5208.  
  5209.     Semantics:    Interpret  the    text  within the @ command  as    a
  5210.             ruler definition string in the same format as the
  5211.             ruler files.
  5212.  
  5213.     9.4.2.81              :RUS
  5214.  
  5215.                   Save ruler in buffer
  5216.  
  5217.     Syntax:        :RUS
  5218.  
  5219.     Semantics:    Write  the contents of the ruler into the current
  5220.             buffer    in  the same format as a ruler definition
  5221.             file.
  5222.  
  5223.     9.4.2.82              :SAVK
  5224.  
  5225.                Save key definitions in file
  5226.  
  5227.     Syntax:     :SAVK<Delimiter><File name><Delimiter>
  5228.  
  5229.     Semantics:    Saves  the  definitions    of  all  defined  keys
  5230.             (loaded at startup, defined later and learned) in
  5231.             the given file.  The definitions are saved in the
  5232.             format for key definition files.
  5233.  
  5234.     9.4.2.83               :SC
  5235.  
  5236.                   Show current column
  5237.  
  5238.     Syntax:     :SC
  5239.  
  5240.     Semantics:    Display the column that the cursor  is    currently
  5241.             placed at on the bottom line of the display.
  5242.  
  5243.     9.4.2.84              :SEL
  5244.  
  5245.                      Select
  5246.  
  5247.     Syntax:     :SEL
  5248.  
  5249.     Semantics:    Set  the  select point to be the  current  cursor
  5250.             position.
  5251.  
  5252.     9.4.2.85              :SETB
  5253.  
  5254.                Set block/line mode toggle
  5255.  
  5256.     Syntax:     <Count>:SETB
  5257.  
  5258.     Semantics:    Sets the  value  of the block/line mode toggle to
  5259.             the value of  <Count>.      A  value of 0 sets line
  5260.             mode. 1 sets block mode.
  5261.  
  5262.     9.4.2.86              :SETD
  5263.  
  5264.                   Set direction toggle
  5265.  
  5266.     Syntax:     <Count>:SETD
  5267.  
  5268.     Semantics:    Sets  the value of the direction  toggle  to  the
  5269.             value  of  <Count>.    A  value of 0 sets  it  to
  5270.             reverse.  1 sets it to forward.
  5271.     
  5272.     9.4.2.87              :SETK
  5273.     
  5274.            Set typewriter key command execution toggle
  5275.     
  5276.     Syntax:     <Count>:SETK
  5277.     
  5278.     Semantics:    Makes Sedt execute commands  bound  to typewriter
  5279.             keys  if  <Count>  is  1,   otherwise  the  ascii
  5280.             character bound to the key is  inserted  even  if
  5281.             the key has been programmed.
  5282.  
  5283.     9.4.2.88              :SETR
  5284.  
  5285.                 Set replace/insert toggle
  5286.  
  5287.     Syntax:     <Count>:SETR
  5288.  
  5289.     Semantics:    Sets the value of  the replace/insert mode toggle
  5290.             to the value of <Count>.  A value of 0 sets it to
  5291.             insert.  1 sets it to replace.
  5292.  
  5293.     9.4.2.89              :SETT
  5294.  
  5295.               Set tab insert/expand toggle
  5296.  
  5297.     Syntax:     <Count>:SETT
  5298.  
  5299.     Semantics:    Sets the value of the tab insert/expand toggle to
  5300.             the value of <Count>.  A value    of  0  sets it to
  5301.             inserted.  1 sets it to expand.
  5302.     
  5303.     9.4.2.90              :SETU
  5304.  
  5305.                Set case sensitivity toggle
  5306.  
  5307.     Syntax:     <Count>:SETU
  5308.  
  5309.     Semantics:    Sets the value of the  case sensitivity toggle to
  5310.             the value of <Count>.  A value    of  0  sets  case
  5311.             insensitive searches.     1  sets  case    sensitive
  5312.             searches.
  5313.  
  5314.     9.4.2.91               :SI
  5315.     
  5316.                 Send a shift in character
  5317.     
  5318.     :Syntax:    :SI
  5319.     
  5320.     Semantics:    Under VMS or ULTRIX a shift in character (decimal
  5321.             15) is sent to the terminal.  This will shift the
  5322.             displayed character set into the normal character
  5323.             set.
  5324.  
  5325.     9.4.2.92               :SK
  5326.  
  5327.                   Save key definition
  5328.  
  5329.     Syntax:     :SK<Key>
  5330.  
  5331.     Semantics:    Insert    the  definition  of  <Key> in the current
  5332.             buffer.  For valid codes for <Key> see :K.   This
  5333.             command  is  used in conjunction with :LK to edit
  5334.             key definitions.
  5335.  
  5336.     9.4.2.93               :SL
  5337.  
  5338.                    Load search buffer
  5339.  
  5340.     Syntax:     :SL<@ command>
  5341.  
  5342.     Semantics:    Copy  the contents  of    the  buffer  between  the
  5343.             cursor position and the position defined by the @
  5344.             command  into  the  search buffer.    The  search
  5345.             buffer is used by the @F, @N and :SUB commands.
  5346.     
  5347.     9.4.2.94               :SO
  5348.     
  5349.                Send a shift out character
  5350.     
  5351.     Syntax:     :SO
  5352.     
  5353.     Semantics:    Under  VMS  or    ULTRIX     a  shift  out    character
  5354.             (decimal 14) is sent to  the terminal.    This will
  5355.             change    the  character    set  displayed    to    the
  5356.             alternate character set.
  5357.  
  5358.     9.4.2.95              :STAB
  5359.  
  5360.             Replace multiple spaces with tabs
  5361.  
  5362.     Syntax:     :STAB<@ command>
  5363.  
  5364.     Semantics:    Replace  multiple  spaces within the given entity
  5365.             with tab characters where possible.
  5366.  
  5367.     9.4.2.96              :STRP
  5368.  
  5369.                   Strip trailing spaces
  5370.  
  5371.     Syntax:     :STRP<@ command>
  5372.  
  5373.     Semantics:    Strip  all  trailing  space  and  tab  characters
  5374.             within the given  entity.    Trailing  spaces are
  5375.             those after the last  printable  character on the
  5376.             line.
  5377.  
  5378.     9.4.2.97              :SUB
  5379.  
  5380.                    Substitute
  5381.  
  5382.     Syntax:
  5383.     {+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter>
  5384.  
  5385.     Semantics:    Find the  next    occurrence  of    <Target>  in  the
  5386.             current direction and  replace    it with <Object>.
  5387.             If the cursor is placed on the first character of
  5388.             <Target> and the direction is  forward    make  the
  5389.             substitution.     If  <Target>  is empty  use  the
  5390.             current  search  string, set by @F or  :SL.    If
  5391.             <Object>  is  empty  use  the  current substitute
  5392.             string.   If Target is non-empty insert it in the
  5393.             current search string.     If <Object> in non-empty
  5394.             insert it in the  current  substitute string.  If
  5395.             the direction is forward, place the cursor at the
  5396.             end if the inserted string, end if it is backward
  5397.             place the cursor at the beginning.  The search is
  5398.             case insensitive.
  5399.  
  5400.     9.4.2.98               :SV
  5401.  
  5402.                   Show Version
  5403.  
  5404.     Syntax:     :SV
  5405.  
  5406.     Semantics:    Show the  version  number  of Sedt on the message
  5407.             line.
  5408.  
  5409.     9.4.2.99              :SYQ
  5410.  
  5411.                   Spawn with no output
  5412.  
  5413.     Syntax:     :SYQ<Delimiter><Command><Delimiter>
  5414.  
  5415.     Semantics:    The :SYQ is the same as the :SYS command with the
  5416.             exception that it  does  not clear the screen and
  5417.             refresh it after the spawn.  This command is used
  5418.             to  execute  programs that accept  no  input  and
  5419.             provide no output.
  5420.  
  5421.     9.4.2.100              :SYR
  5422.  
  5423.               Spawn with redirected output
  5424.  
  5425.     Syntax:     :SYR<Delimiter><New stdout><Delimiter><New stderr>
  5426.              <Delimiter><Command><Delimiter>
  5427.  
  5428.     Semantics:    The :SYR command  is similar to the :SYQ command,
  5429.             but  redirects standard output and  error  output
  5430.             for the child process to the given file names.
  5431.  
  5432.     9.4.2.101              :SYS
  5433.  
  5434.                Spawn to operating system
  5435.  
  5436.     Syntax:     :SYS<Delimiter><Command><Delimiter>
  5437.  
  5438.     Semantics:    Execute  <Command> and a command to the operating
  5439.             system.   Before  the  command    is  executed  the
  5440.             screen is cleared  and    the  modes  reset  to the
  5441.             default modes.    If  <Command>  is  empty call the
  5442.             command processor.  On return prompt for input of
  5443.             a  single  keystroke if <Command> was  non-empty.
  5444.             Then refresh the display.
  5445.  
  5446.             On MS-DOS systems  COMSPEC  is used to locate the
  5447.             command  interpreter which is  spawned    when  the
  5448.             argument to :SYS is empty.
  5449.  
  5450.             SEDT uses free    memory    to  contain  buffers  and
  5451.             other working areas.   Whether    enough    memory is
  5452.             available  to actually perform the  :SYS  command
  5453.             depends  on  the largest memory requirement  that
  5454.             SEDT  has  had    during the session.   It  is  not
  5455.             possible  to  return  memory  once  it    has  been
  5456.             claimed and used by SEDT.
  5457.  
  5458.     9.4.2.102              :TAB
  5459.  
  5460.                  Move to next tab stop
  5461.  
  5462.     Syntax:     {<Count>}:TAB
  5463.  
  5464.     Semantics:    If the current indentation level is to    the right
  5465.             of  the  cursor  insert  tab and space characters
  5466.             until  the  cursor  is    placed at the indentation
  5467.             level.    Otherwise insert tab and space characters
  5468.             until the cursor  is at the next tab stop.  If no
  5469.             tab stops are to  the  right  of  the  cursor  do
  5470.             nothing.  Only space characters  will be inserted
  5471.             if the current tab expansion mode  is  to  expand
  5472.             tabs.  The tab expansion is changed  with the :TT
  5473.             command  and  displayed on the mode line  of  the
  5474.             display.
  5475.  
  5476.             In overstrike  mode  :TAB  will  space    over  any
  5477.             characters already on the line.
  5478.  
  5479.     9.4.2.103              :TAD
  5480.  
  5481.               Adjust text by one tab stop
  5482.  
  5483.     Syntax:     {+|-|<|>}{<Count>}:TAD<@ command>
  5484.  
  5485.     Semantics:    Move  all   lines  fully  contained  between  the
  5486.             current cursor position  and the position defined
  5487.             by the @ command  <Count>  tab    stops left if the
  5488.             current  direction is backward or  right  if  the
  5489.             current direction is forward.  Left adjustment is
  5490.             not performed further than to the first non space
  5491.             or tab character.
  5492.  
  5493.     9.4.2.104               :TB
  5494.  
  5495.                    Toggle Block Mode
  5496.  
  5497.     Syntax:     :TB
  5498.  
  5499.     Semantics:    Toggle between block and line cut and paste.
  5500.  
  5501.             In line mode  (shown  by  line on the mode line),
  5502.             the select region is  all  characters between the
  5503.             cursor and the select point.  Cut operations will
  5504.             remove      the  entire  select  region.        Paste
  5505.             operations will insert the entire paste region at
  5506.             the cursor position.
  5507.  
  5508.             In  block  mode  a cut operation will remove  all
  5509.             characters  that  are     within    the    rectangle
  5510.             delimited by the cursor  and the select point.    A
  5511.             paste  operation  will insert the  paste  buffer,
  5512.             line  by  line    in  the buffer    starting  at  the
  5513.             cursor    position  and at the cursor column,  thus
  5514.             inserting  a  rectangle  of text into the buffer.
  5515.             The  select  region  will only have the column at
  5516.             the select point shown in reverse video.
  5517.  
  5518.     9.4.2.105               :TC
  5519.  
  5520.             Toggle Control Character Display
  5521.  
  5522.     Syntax:     :TC
  5523.  
  5524.     Semantics:    Toggles between display  of control characters as
  5525.             single    reverse  video characters with control    C
  5526.             shown as a reverse video C, or    as strings in the
  5527.             format <name> when name is the ASCII mnemonic for
  5528.             the character.
  5529.  
  5530.     9.4.2.106               :TD
  5531.  
  5532.                 Toggle Direction
  5533.  
  5534.     Syntax:     :TD
  5535.  
  5536.     Semantics:    Toggle the direction flag shown on the mode line.
  5537.             Most  cursor  movement      commands  work  in  the
  5538.             direction shown by the direction flag.
  5539.  
  5540.     9.4.2.107               :TF
  5541.  
  5542.                       Fill
  5543.  
  5544.     Syntax:     :TF<@ command>
  5545.  
  5546.     Semantics:    Fill or  justify  all  text  between  the current
  5547.             cursor position and  the  point  defined by the @
  5548.             command.  If the ruler contains an R to the right
  5549.             of column 1 the text will be filled (jagged right
  5550.             margin).  If it contains a  J  to  the    right  of
  5551.             column    1  the    text will be justified    (straight
  5552.             right margin).    The left margin is defined by the
  5553.             position  of  either  A  or W in the ruler.    To
  5554.             justify  text  SEDT  packs the text as closely as
  5555.             possible with  single spaces between words except
  5556.             after punctuation, where two spaces are used.  It
  5557.             then inserts extra spaces until the text lines up
  5558.             with the right margin.
  5559.  
  5560.     9.4.2.108               :TI
  5561.  
  5562.                  Test for input
  5563.  
  5564.     Syntax:     :TI
  5565.  
  5566.     Semantics:    Set SEDT's internal error flag    if  the  internal
  5567.             type-ahead buffer  contains any characters.  This
  5568.             command is used  to  terminate    a command loop by
  5569.             typing a character.
  5570.     
  5571.     9.4.2.109               :TK
  5572.     
  5573.              Toggle typewriter key command execution
  5574.     
  5575.     Syntax:     :TK
  5576.     
  5577.     Semantics:    Toggle      between  executing  commands    bound  to
  5578.             typewriter keys and inserting the ascii character
  5579.             bound to the  keys  even  when    they are bound to
  5580.             commands.
  5581.  
  5582.     9.4.2.110               :TM
  5583.  
  5584.                  Toggle buffer markers
  5585.  
  5586.     Syntax:     :TM
  5587.  
  5588.     Semantics:    Toggle between showing the beginning and  end  of
  5589.             buffers  with  bold,  reverse  video BOF and  EOF
  5590.             markers.  Default is not to show the markers.
  5591.  
  5592.     9.4.2.111               :TP
  5593.  
  5594.                    Toggle Cursor Line
  5595.  
  5596.     Syntax:     :TP
  5597.  
  5598.     Semantics:    Toggles between full screen  display  where  the
  5599.             cursor line will float within  the display window
  5600.             to minimize screen updates, and mid-line  editing
  5601.             where the cursor is always on the  center line of
  5602.             the window.
  5603.  
  5604.     9.4.2.112               :TR
  5605.  
  5606.                   Toggle ruler display
  5607.  
  5608.     Syntax:     :TP
  5609.  
  5610.     Semantics:    Toggles display  of  the current ruler at the top
  5611.             of the window.
  5612.  
  5613.     9.4.2.113               :TS
  5614.  
  5615.              Toggle automatic screen shifts
  5616.  
  5617.     Syntax:     :TS
  5618.  
  5619.     Semantics:    Toggle    shifting the screen image horizontally to
  5620.             keep  the  current  cursor  position  within  the
  5621.             screen    margins.  When screen shifting is toggled
  5622.             off the leftmost column on the screen will always
  5623.             correspond to the  leftmost  column  in the file.
  5624.             The current state of  the  toggle is shown on the
  5625.             mode line of the display.
  5626.  
  5627.     9.4.2.114               :TT
  5628.  
  5629.                   Toggle tab expansion
  5630.  
  5631.     Syntax:     :TT
  5632.  
  5633.     Semantics:    Toggle    between  inserting  tab characters in the
  5634.             buffer and  expanding them into space characters.
  5635.             The current state  of  the toggle is displayed on
  5636.             the mode line of the display.
  5637.  
  5638.     9.4.2.115               :TU
  5639.  
  5640.                  Toggle case sensitivity
  5641.  
  5642.     Syntax:     :TU
  5643.  
  5644.     Semantics:    Toggle    between  case     sensitive    and    case
  5645.             insensitive searches.  The  current  state of the
  5646.             toggle    is  displayed on the  mode  line  of  the
  5647.             display.
  5648.  
  5649.     9.4.2.116               :UC
  5650.  
  5651.                    Undelete character
  5652.  
  5653.     Syntax:     {<Count>}:UC
  5654.  
  5655.     Semantics:    Insert the contents  of  the  character  undelete
  5656.             buffer at the current cursor position.
  5657.  
  5658.     9.4.2.117               :UL
  5659.  
  5660.                  Undelete line
  5661.  
  5662.     Syntax:     {<Count>}:UL
  5663.  
  5664.     Semantics:    Insert    the contents of the line delete buffer at
  5665.             the current cursor position.
  5666.  
  5667.     9.4.2.118               :UM
  5668.  
  5669.                    Undo last command
  5670.  
  5671.     Syntax:     :UM
  5672.  
  5673.     Semantics:    Attempt to negate the effect of the last command.
  5674.             Commands for which :UM has been implemented are:
  5675.  
  5676.                 All @ commands.
  5677.                 :SUB
  5678.                 :D
  5679.  
  5680.             Attempting to undo any other command  will  cause
  5681.             an error do be displayed.
  5682.  
  5683.     9.4.2.119              :UOFF
  5684.  
  5685.                  Turn off screen updates
  5686.  
  5687.     Syntax:     :UOFF
  5688.  
  5689.     Semantics:    Prevents screen  updating  until a :UON, :WC, :WI
  5690.             or :RL command is executed.  This command is used
  5691.             to  prevent excessive screen  updating    processes
  5692.             with complex command sequences;
  5693.  
  5694.     9.4.2.120              :UON
  5695.  
  5696.                   Turn on screen updates
  5697.  
  5698.     Syntax:     :UON
  5699.  
  5700.     Semantics:    Restores screen updating and repaint  the  screen
  5701.             to  reflect any changes made while  updates  were
  5702.             turned off.
  5703.  
  5704.     9.4.2.121              :UPAG
  5705.  
  5706.                  Undelete page
  5707.  
  5708.     Syntax:     {<Count>}:UPAG
  5709.  
  5710.     Semantics:    Insert the contents of the page delete buffer  at
  5711.             the current cursor position.
  5712.  
  5713.     9.4.2.122              :UPAR
  5714.  
  5715.                    Undelete paragraph
  5716.  
  5717.     Syntax:     {<Count>}:UPAR
  5718.  
  5719.     Semantics:    Insert    the  contents  of  the    paragraph  delete
  5720.             buffer at the current cursor position.
  5721.  
  5722.     9.4.2.123              :UPD
  5723.  
  5724.                   Update screen header
  5725.  
  5726.     Syntax:     :UPD
  5727.  
  5728.     Semantics:    Update    the  first  line of the display.  This is
  5729.             normally done  only  when SEDT is ready for input
  5730.             and there are no  characters  in  the  type-ahead
  5731.             buffer.
  5732.  
  5733.     9.4.2.124              :USEN
  5734.  
  5735.                    Undelete sentence
  5736.  
  5737.     Syntax:     {<Count>}:USEN
  5738.  
  5739.     Semantics:    Insert the contents of the sentence delete buffer
  5740.             at the current cursor position.
  5741.  
  5742.     9.4.2.125              :USR
  5743.  
  5744.                      Paste
  5745.  
  5746.     Syntax:     {<Count>}:USR
  5747.  
  5748.     Semantics:    Insert the contents of the  paste  buffer  at the
  5749.             current cursor position.
  5750.  
  5751.     9.4.2.126               :UU
  5752.  
  5753.                 Undelete unknown
  5754.  
  5755.     Syntax:     {<Count>}:UU
  5756.  
  5757.     Semantics:    Insert the  contents of the unknown delete buffer
  5758.             at the current cursor position.
  5759.  
  5760.     9.4.2.127               :UW
  5761.  
  5762.                  Undelete word
  5763.  
  5764.     Syntax:     {<Count>}:UW
  5765.  
  5766.     Semantics:    Insert the contents  of the word delete buffer at
  5767.             the current cursor position.
  5768.  
  5769.     9.4.2.128               :WC
  5770.  
  5771.                  Toggle windows
  5772.  
  5773.     Syntax:     :WC
  5774.  
  5775.     Semantics:    Toggle between one and two window  displays.  The
  5776.             bottom window will be empty if :WC is used before
  5777.             :WI is used.  If :WI has been used the two window
  5778.             display  will  show  the  buffer  selected as the
  5779.             current buffer    before    the  last :WI command was
  5780.             executed.
  5781.  
  5782.     9.4.2.129               :WD
  5783.  
  5784.                   Toggle width
  5785.  
  5786.     Syntax:     :WD
  5787.  
  5788.     Semantics:    Toggle between 80 and 132 column display formats.
  5789.             This command has no effect on systems that cannot
  5790.             support 132 character displays.
  5791.  
  5792.     9.4.2.130               :WI
  5793.  
  5794.                  Select buffer
  5795.  
  5796.     Syntax:     <Count>:WI
  5797.  
  5798.     Semantics:    Select the buffer given in <Count> as the current
  5799.             buffer.  Valid buffers are 1 through 4.
  5800.  
  5801.             Each  buffer  has  a    unique    edit  environment
  5802.             including:
  5803.  
  5804.                 Input file
  5805.                 Output file
  5806.                 Current position
  5807.                 Ruler
  5808.                 Marks
  5809.                 Select point
  5810.  
  5811.     9.4.2.131               :X
  5812.  
  5813.                       Exit
  5814.  
  5815.     Syntax:     :X
  5816.  
  5817.     Semantics:    Save  the  current buffer in  it's  output  file.
  5818.             Then  exit  unless other buffers contain  unsaved
  5819.             changes.    If    unsaved changes exist prompt  the
  5820.             user for confirmation before exiting.
  5821.  
  5822.     9.4.2.132               :YN
  5823.  
  5824.                  Prompt for Confirmation
  5825.  
  5826.     Syntax:     :YN<Delimiter><String><Delimiter>
  5827.  
  5828.     Semantics:    Display  the  string  on the bottom line  of  the
  5829.             display with the string <Y/N>:    appended and wait
  5830.             for the user to enter either a Y or an N from the
  5831.             keyboard.    If  the response is Y the error flag
  5832.             will be  set,  otherwise it will be cleared.  :YN
  5833.             is  used  in  conjunction   with  ^E  conditional
  5834.             execution.               For      example
  5835.             ^E(:YN/Question?/)(:OM/Yes/|:OM/No/)  will output
  5836.             a Yes if Y is typed in response.
  5837.  
  5838.     9.4.2.133               :Z
  5839.  
  5840.                    Zap buffer
  5841.  
  5842.     Syntax:     <Count>:Z
  5843.  
  5844.     Semantics:    Clear  the  current  buffer.   If unsaved changes
  5845.             have been  made  prompt the user for confirmation
  5846.             before clearing.
  5847.     
  5848.             If <Count> is zero,  the buffer will be marked as
  5849.             read-only.  Even if the  buffer  is modified, the
  5850.             contents will not be saved and    you  will  not be
  5851.             warned if the buffer is cleared.
  5852.     
  5853.     Copyright (c) Anker Berg-Sonne, 1985-1989
  5854.     Sedt Version 4.0 (254)
  5855.  
  5856.  
  5857.                    Appendix A
  5858.  
  5859.                   Keyboard translation
  5860.  
  5861.     Key        LK201/LK250
  5862.  
  5863.     <Escape>
  5864.     <Backspace>
  5865.     <Return>    <Return>
  5866.     <Linefeed>
  5867.     <Delete>    <<X>
  5868.     <Control>    <Ctl>
  5869.     <Tab>        <Tab>
  5870.     <Space>     <Spacebar>
  5871.     <F1>        <F1>
  5872.     <F2>        <F2>
  5873.     <F3>        <F3>
  5874.     <F4>        <F4>
  5875.     <F5>        <F5>
  5876.     <F6>        <F6>
  5877.     <F7>        <F7>
  5878.     <F8>        <F8>
  5879.     <F9>        <F9>
  5880.     <F10>        <F10>
  5881.     <F11>        <F11>
  5882.     <F12>        <F12>
  5883.     <F13>        <F13>
  5884.     <F14>        <F14>
  5885.     <Help>        <Help>
  5886.     <Do>        <Do>
  5887.     <F17>        <F17>
  5888.     <F18>        <F18>
  5889.     <F19>        <F19>
  5890.     <F20>        <F20>
  5891.     <Find>        <Find>
  5892.     <Insert Here>    <Insert Here>
  5893.     <Remove>    <Remove>
  5894.     <Select>    <Select>
  5895.     <Prev Screen>    <Prev Screen>
  5896.     <Next Screen>    <Next Screen>
  5897.     <Up arrow>    <Up Arrow>
  5898.     <Left arrow>    <Left Arrow>
  5899.     <Down arrow>    <Down Arrow>
  5900.     <Right arrow>    <Right Arrow>
  5901.     <Keypad 0>    <Keypad 0>
  5902.     <Keypad 1>    <Keypad 1>
  5903.     <Keypad 2>    <Keypad 2>
  5904.     <Keypad 3>    <Keypad 3>
  5905.     <Keypad 4>    <Keypad 4>
  5906.     <Keypad 5>    <Keypad 5>
  5907.     <Keypad 6>    <Keypad 6>
  5908.     <Keypad 7>    <Keypad 7>
  5909.     <Keypad 8>    <Keypad 8>
  5910.     <Keypad 9>    <Keypad 9>
  5911.     <Keypad ,>    <Keypad ,>
  5912.     <Keypad ->    <Keypad ->
  5913.     <Keypad .>    <Keypad .>
  5914.     <Gold>        <Keypad PF1>
  5915.     <PF2>        <Keypad PF2>
  5916.     <PF3>        <Keypad PF3>
  5917.     <PF4>        <Keypad PF4>
  5918.     <Keypad Enter>    <Keypad Enter>
  5919.  
  5920.     Key        IBM PC        IBM PC/AT    Enhanced IBM
  5921.  
  5922.     <Escape>
  5923.     <Backspace>
  5924.     <Return>    <Enter>     <Enter>     <Enter>
  5925.     <Linefeed>
  5926.     <Delete>    <<->        <<->        <Backspace>
  5927.     <Control>    <Ctrl>        <Ctrl>        <Ctrl>
  5928.     <Tab>        <->|>        <->|>        <Tab>
  5929.     <Space>     <Spacebar>    <Spacebar>    <Spacebar>
  5930.     <F1>        <F1>        <F1>        <F1>
  5931.     <F2>        <F2>        <F2>        <F2>
  5932.     <F3>        <F3>        <F3>        <F3>
  5933.     <F4>        <F4>        <F4>        <F4>
  5934.     <F5>        <F5>        <F5>        <F5>
  5935.     <F6>        <F6>        <F6>        <F6>
  5936.     <F7>        <F7>        <F7>        <F7>
  5937.     <F8>        <F8>        <F8>        <F8>
  5938.     <F9>        <F9>        <F9>        <F9>
  5939.     <F10>        <F10>        <F10>        <F10>
  5940.     <F11>        <Shift> <F1>    <Shift> <F1>    <F11>
  5941.     <F12>        <Shift> <F2>    <Shift> <F2>    <F12>
  5942.     <F13>        <Shift> <F3>    <Shift> <F3>    <Shift> <F3>
  5943.     <F14>        <Shift> <F4>    <Shift> <F4>    <Shift> <F4>
  5944.     <Help>        <Shift> <F5>    <Shift> <F5>    <Shift> <F5>
  5945.     <Do>        <Shift> <F6>    <Shift> <F6>    <Shift> <F6>
  5946.     <F17>        <Shift> <F7>    <Shift> <F7>    <Shift> <F7>
  5947.     <F18>        <Shift> <F8>    <Shift> <F8>    <Shift> <F8>
  5948.     <F19>        <Shift> <F9>    <Shift> <F9>    <Shift> <F9>
  5949.     <F20>        <Shift> <F10>    <Shift> <F10>    <Shift> <F10>
  5950.     <Find>        <Shift> <Home>    <Shift> <Home>    <Home>
  5951.     <Insert Here>    <Shift> <Ins>    <Shift> <Ins>    <Insert>
  5952.     <Remove>    <Shift> <Del>    <Shift> <Del>    <Delete>
  5953.     <Select>    <Shift> <End>    <Shift> <End>    <End>
  5954.     <Prev Screen>    <Shift> <Pg Up> <Shift> <Pg Up> <Page Up>
  5955.     <Next Screen>    <Shift> <Pg Dn> <Shift> <Pg Dn> <Page Down>
  5956.     <Up arrow>    <Shift> <Up Arrow>
  5957.                     <Shift> <Up Arrow>
  5958.                             <Up Arrow>
  5959.     <Left arrow>    <Shift> <Left Arrow>
  5960.                     <Shift> <Left Arrow>
  5961.                             <Left Arrow>
  5962.     <Down arrow>    <Shift> <Down Arrow>
  5963.                     <Shift> <Down Arrow>
  5964.                             <Down Arrow>
  5965.     <Right arrow>    <Shift> <Right Arrow>
  5966.                     <Shift> <Right Arrow>
  5967.                             <Right Arrow>
  5968.     <Keypad 0>    <Keypad 0>    <Keypad 0>    <Keypad 0>
  5969.     <Keypad 1>    <Keypad 1>    <Keypad 1>    <Keypad 1>
  5970.     <Keypad 2>    <Keypad 2>    <Keypad 2>    <Keypad 2>
  5971.     <Keypad 3>    <Keypad 3>    <Keypad 3>    <Keypad 3>
  5972.     <Keypad 4>    <Keypad 4>    <Keypad 4>    <Keypad 4>
  5973.     <Keypad 5>    <Keypad 5>    <Keypad 5>    <Keypad 5>
  5974.     <Keypad 6>    <Keypad 6>    <Keypad 6>    <Keypad 6>
  5975.     <Keypad 7>    <Keypad 7>    <Keypad 7>    <Keypad 7>
  5976.     <Keypad 8>    <Keypad 8>    <Keypad 8>    <Keypad 8>
  5977.     <Keypad 9>    <Keypad 9>    <Keypad 9>    <Keypad 9>
  5978.     <Keypad ,>    <Shift> <Keypad ->
  5979.                     <Keypad ->    <Keypad +>
  5980.     <Keypad ->    <Keypad ->    <Prt Sc>    <Shift> <Keypad +>
  5981.     <Keypad .>    <Keypad .>    <Keypad .>    <Keypad .>
  5982.     <Gold>        <Esc>,<Num Lock><Esc>        <Esc>,<Num Lock>
  5983.     <PF2>        <Shift> <Num Lock>
  5984.                     <Num Lock>    <Keypad />
  5985.     <PF3>        <Scroll Lock>
  5986.                     <Scroll Lock>    <Keypad *>
  5987.     <PF4>        <Shift> <Scroll Lock>
  5988.                     <Sys Req>    <Keypad ->
  5989.     <Keypad Enter>    <Keypad +>    <Keypad +>    <Keypad Enter>
  5990.  
  5991.     Key        IBM Convert.    ATARI ST
  5992.  
  5993.     <Escape>
  5994.     <Backspace>            <Backspace>
  5995.     <Return>    <Enter>     <Return>
  5996.     <Linefeed>
  5997.     <Delete>    <Bksp>        <Delete>
  5998.     <Control>    <Ctrl>        <Control>
  5999.     <Tab>        <->|>        <Tab>
  6000.     <Space>     <Spacebar>    <Spacebar>
  6001.     <F1>        <F1>        <F1>
  6002.     <F2>        <F2>        <F2>
  6003.     <F3>        <F3>        <F3>
  6004.     <F4>        <F4>        <F4>
  6005.     <F5>        <F5>        <F5>
  6006.     <F6>        <F6>        <F6>
  6007.     <F7>        <F7>        <F7>
  6008.     <F8>        <F8>        <F8>
  6009.     <F9>        <F9>        <F9>
  6010.     <F10>        <F10>        <F10>
  6011.     <F11>        <Shift> <F1>    <Shift> <F1>
  6012.     <F12>        <Shift> <F2>    <Shift> <F2>
  6013.     <F13>        <Shift> <F3>    <Shift> <F3>
  6014.     <F14>        <Shift> <F4>    <Shift> <F4>
  6015.     <Help>        <Shift> <F5>    <Shift> <F5>
  6016.     <Do>        <Shift> <F6>    <Shift> <F6>
  6017.     <F17>        <Shift> <F7>    <Shift> <F7>
  6018.     <F18>        <Shift> <F8>    <Shift> <F8>
  6019.     <F19>        <Shift> <F9>    <Shift> <F9>
  6020.     <F20>        <Shift> <F10>    <Shift> <F10>
  6021.     <Find>        <Fn> <Home>    <Shift> <Clr Home>
  6022.     <Insert Here>    <Ins>        <Insert>
  6023.     <Remove>    <Del>        <Clr Home>
  6024.     <Select>    <Fn> <End>    <Shift> <Insert>
  6025.     <Prev Screen>    <Fn> <PgUp>    <Shift> <Up Arrow>
  6026.     <Next Screen>    <Fn> <PgDn>    <Shift> <Down Arrow>
  6027.     <Up arrow>    <Up Arrow>    <Up Arrow>
  6028.     <Left arrow>    <Left Arrow>    <Left Arrow>
  6029.     <Down arrow>    <Down Arrow>    <Down Arrow>
  6030.     <Right arrow>    <Right Arrow>    <Right Arrow>
  6031.     <Keypad 0>    <Fn> <Keypad 0> <Keypad 0>
  6032.     <Keypad 1>    <Fn> <Keypad 1> <Keypad 1>
  6033.     <Keypad 2>    <Fn> <Keypad 2> <Keypad 2>
  6034.     <Keypad 3>    <Fn> <Keypad 3> <Keypad 3>
  6035.     <Keypad 4>    <Fn> <Keypad 4> <Keypad 4>
  6036.     <Keypad 5>    <Fn> <Keypad 5> <Keypad 5>
  6037.     <Keypad 6>    <Fn> <Keypad 6> <Keypad 6>
  6038.     <Keypad 7>    <Fn> <Keypad 7> <Keypad 7>
  6039.     <Keypad 8>    <Fn> <Keypad 8> <Keypad 8>
  6040.     <Keypad 9>    <Fn> <Keypad 9> <Keypad 9>
  6041.     <Keypad ,>    <Fn> <Keypad *> <Keypad +>
  6042.     <Keypad ->    <Fn> <Keypad /> <Keypad ->
  6043.     <Keypad .>    <Fn> <Keypad .> <Keypad .>
  6044.     <Gold>        <Num Lock>    <Esc>,<Keypad (>
  6045.     <PF2>        <Scroll Lock>    <Keypad )>
  6046.     <PF3>        <Fn> <Keypad -> <Keypad />
  6047.     <PF4>        <Fn> <Keypad +> <Keypad *>
  6048.     <Keypad Enter>            <Keypad Enter>
  6049.     
  6050.     Copyright (c) Anker Berg-Sonne, 1985-1989
  6051.     Sedt Version 4.0 (254)
  6052.  
  6053.  
  6054.                     Appendix B
  6055.  
  6056.                    Installation
  6057.  
  6058.                      ATARI ST
  6059.  
  6060.  
  6061.         Your first action should be  to make backup copies of the
  6062.     Sedt disks.  Use the backup  copies  from now on and only use the
  6063.     Sedt disks to create new backup copies.
  6064.  
  6065.         You can either use the backup copy  to    run  Sedt from or
  6066.     copy it's contents onto another disk or into a folder.
  6067.  
  6068.         When you run Sedt from the  ATARI  GEM desktop you should
  6069.     run  it from the directory containing all of the  files.    Under
  6070.     ATARI  GEM  this  is  done  simply  by    opening a window  to  the
  6071.     directory and double clicking the program.
  6072.  
  6073.         If you intend to run Sedt from a shell processor, such as
  6074.     the  Mark  Williams  msh, you can install Sedt so that it can  be
  6075.     called from any directory without copying the files.  Install the
  6076.     directory  that  contains  SEDT.TTP  into  the    PATH  environment
  6077.     variable and also create a new environment variable, called SEDT,
  6078.     that points to the directory containing  STKEY.TXT and STHLP.TXT.
  6079.     The command "setenv SEDT=C:\SEDT\" will cause Sedt  to    pick  the
  6080.     files out of directory \SEDT on drive C.   Do not forget the last
  6081.     backslash!
  6082.  
  6083.         When Sedt  cannot  use    more  RAM memory it will overflow
  6084.     onto a temporary  disk file.  If you have defined the environment
  6085.     variable TEMP Sedt will  use  the  value  if  it to determine the
  6086.     drive and directory on which  to  place  the temporary file.  The
  6087.     command "setenv TEMP=D:\" will place the  temporary  file  in the
  6088.     root directory of drive D.
  6089.  
  6090.         The program SEDT.TTP is intended to be run  from  a shell
  6091.     processor.   You can run it from ATARI GEM and supply  arguments,
  6092.     but it will not use windows, the mouse or menus.
  6093.  
  6094.         GSEDT.PRG is  intended    to  be    run  from  the    ATARI GEM
  6095.     desktop and uses windows, mouse and menus.
  6096.     
  6097.     Sedt Version 4.0 (254)
  6098.  
  6099.  
  6100.                     Appendix B
  6101.  
  6102.                Installation Instructions
  6103.  
  6104.                  MS-DOS and OS/2
  6105.  
  6106.            Rainbow, IBM PC, IBM PC/AT, IBM PS/2 With Hard Disk
  6107.  
  6108.  
  6109.         Your first action  should be to make a backup copy of the
  6110.     Sedt disk.  Use the backup copy from now on and only use the Sedt
  6111.     disk to create a new backup copy.
  6112.  
  6113.         Create a  directory  for  the SEDT files using the DOS MD
  6114.     command in the format "CD <drive>:\<directory>".  E.g.
  6115.  
  6116.         MD C:\SEDT
  6117.  
  6118.         In this example  C  is the name of the drive and SEDT the
  6119.     name of the directory that is being created.
  6120.  
  6121.         Ensure    that  the directory  you  just    created  is  your
  6122.     default directory with the DOS    CD  command  in  the  format  "CD
  6123.     \<directory>".    E.g.
  6124.  
  6125.         C:
  6126.         CD \SEDT
  6127.  
  6128.         Copy the all files from the backup disk  into the current
  6129.     directory.  E.g.
  6130.  
  6131.         COPY A:*.*
  6132.  
  6133.         If you are familiar with Sedt you can use it for the next
  6134.     two steps.
  6135.  
  6136.         Add  the  directory that contains the SEDT files  to  the
  6137.     PATH  command  in AUTOEXEC.BAT on your boot drive in  the  format
  6138.     ";\<directory>".   If  there  is  no PATH command in AUTOEXEC.BAT
  6139.     create one that  contains  the    root directory on your boot drive
  6140.     and the SEDT directory.  E.g.
  6141.  
  6142.         PATH C:\;C:\SEDT
  6143.  
  6144.         Add a command  to  create  an environment variable called
  6145.     SEDT that points to  the  directory  containing the SEDT files to
  6146.     AUTOEXEC.BAT on your boot drive.  E.g.
  6147.  
  6148.         SET SEDT=C:\SEDT\
  6149.  
  6150.         An example of a complete installation follows:
  6151.  
  6152.         A>C:
  6153.         C>MD \SEDT
  6154.         C>CD \SEDT
  6155.         C>COPY A:*.*
  6156.         CD \
  6157.         COPY CON: AUTOEXEC.BAT
  6158.         DATE
  6159.         TIME
  6160.         PATH C:\;C:\SEDT
  6161.         SET SEDT=C:\SEDT\^Z
  6162.         C>
  6163.  
  6164.         Using  this  installation procedure you can run Sedt from
  6165.     any disk or directory.
  6166.  
  6167.         When Sedt  cannot  use    more  RAM memory it will overflow
  6168.     onto a temporary  disk file.  If you have defined the environment
  6169.     variable TEMP Sedt will  use  the  value  if  it to determine the
  6170.     drive and directory on which  to  place  the temporary file.  The
  6171.     command "SET TEMP=D:\" will place the temporary  file in the root
  6172.     directory of drive D.
  6173.     
  6174.     Sedt Version 4.0 (254)
  6175.  
  6176.  
  6177.                     Appendix B
  6178.  
  6179.  
  6180.                Installation Instructions
  6181.  
  6182.                       VMS
  6183.  
  6184.         Copy Sedt.Exe,    Sedt.Com, *.Edt and *.Gld to a directory.
  6185.     Define the logical  name  Sedt$Library to point to the directory,
  6186.     the          symbol        Se*dt:==$Sedt$Library:Sedt          and
  6187.     KSe*dt:==@Sedt$Library:Sedt.  You do not  need    write  access  to
  6188.     Sedt$Library.
  6189.  
  6190.         Define    the  logical  names
  6191.             Sedt$VT1XXkeys as Sedt$Library:1XXkeys.Edt
  6192.             Sedt$VT1XXhelp as Sedt$Library:1XXhelp.Edt
  6193.             Sedt$VT2XXkeys as Sedt$Library:2XXkeys.Edt
  6194.             Sedt$VT2XXhelp as Sedt$Library:2XXhelp.Edt
  6195.  
  6196.         Define the logical name Sedt$Dir to point to a    directory
  6197.     which you have write access to.  Saved rulers will  be    stored in
  6198.     this  directory.  Until you have saved ruler 0 in this    directory
  6199.     you  will  get the message "Could not find ruler file" every time
  6200.     you enter  Sedt.   Enter  ruler  mode,    define your default ruler
  6201.     settings and save them by typing Gold 0.
  6202.  
  6203.     Example:
  6204.         Assign Sys$Disk:[Mydir] Sedt$Library
  6205.         Assign Sys$Disk:[Mydir] Sedt$Dir
  6206.         Se*dt:==$Sedt$Library:Sedt
  6207.         Assign Sedt$Library:1XXkeys.Edt Sedt$VT1XXkeys
  6208.         Assign Sedt$Library:1XXhelp.Edt Sedt$VT1XXhelp
  6209.         Assign Sedt$Library:2XXkeys.Edt Sedt$VT2XXkeys
  6210.         Assign Sedt$Library:2XXhelp.Edt Sedt$VT2XXhelp
  6211.  
  6212.         Using  this  installation procedure you can run Sedt from
  6213.     any disk or directory.
  6214.     
  6215.  
  6216.                    Appendix B
  6217.     
  6218.                 Installation Instructions
  6219.  
  6220.                   UNIX Systems
  6221.  
  6222.         Copy sedt (the executable  file)  into a directory in the
  6223.     path.
  6224.  
  6225.         Copy the rest of the  files  in the distribution into any
  6226.     directory  that  the  users  will  have   read    access    to,  e.g.
  6227.     /usr/lib/sedt
  6228.  
  6229.         If you log into the Bourne shell  include  the    following
  6230.     into  /etc/profile  assuming you want to make Sedt  available  to
  6231.     everybody, or in .profile in your directory if you  just  want to
  6232.     use  Sedt  yourself  (assuming    you  put  the  Sedt files in  the
  6233.     directory in the above example):
  6234.  
  6235.     SEDT=/usr/lib/sedt
  6236.     PSEDT=$HOME
  6237.     export SEDT PSEDT
  6238.     
  6239.         If  you  log  into  the  C shell include the following in
  6240.     .cshrc in your directory:
  6241.     
  6242.     setenv SEDT /usr/lib/sedt
  6243.     setenv PSEDT $HOME
  6244.     
  6245.         The environment variable term  must  start with vt1, vt2,
  6246.     ansi or vt52 for Sedt to be able to run.
  6247.  
  6248.     
  6249.                    Appendix B
  6250.  
  6251.                 Installation Instructions
  6252.  
  6253.      Additional Instructions to  enable  using  Sedt on the console 
  6254.                 of PCs running SCO XENIX
  6255.  
  6256.         To be able to use Sedt    from  the console of a PC running
  6257.     SCO XENIX the keyboard must be remapped to emulate a VT200.  This
  6258.     will  change the escape sequences sent by the  keys.    To  enter
  6259.     numeric values from the numeric keypad the Alt or  Ctrl keys must
  6260.     be held down.  To change Num Lock Alt Num Lock must be typed.
  6261.  
  6262.     If the PC has an old style AT keyboard:
  6263.  
  6264.         Copy strings.at and keys.at to /usr/lib/keyboard
  6265.         Copy ansat.key to ansikeys.edt
  6266.         Copy ansat.hlp to ansihelp.edt
  6267.  
  6268.         Include
  6269.  
  6270.             mapstr /usr/lib/keyboard/strings.at
  6271.  
  6272.         in /etc/profile.
  6273.  
  6274.         Include
  6275.  
  6276.             mapkey /usr/lib/keyboard/keys.at
  6277.  
  6278.         /etc/rc
  6279.  
  6280.     If  the  PC  has  an  enhanced    style  keyboard (separate editing
  6281.     keypad):
  6282.  
  6283.         Copy strings.en and keys.en to /usr/lib/keyboard.
  6284.         Copy ansen.key to ansikeys.edt
  6285.         Copy ansen.hlp to ansihelp.edt
  6286.  
  6287.         Include
  6288.  
  6289.             mapstr /usr/lib/keyboard/strings.en
  6290.  
  6291.         in /etc/profile.
  6292.  
  6293.         Include
  6294.  
  6295.             mapkey /usr/lib/keyboard/keys.en
  6296.  
  6297.         /etc/rc
  6298.  
  6299.         Ensure that Num Lock is on when Sedt is called.  Num Lock
  6300.     can be changed by typing Alt Num Lock.
  6301.  
  6302.         The environment variable term must contain the value ansi
  6303.     for Sedt to work properly from the console.
  6304.     
  6305.     Sedt Version 4.0 (254)
  6306.  
  6307.  
  6308.                    Appendix C
  6309.  
  6310.                   Error Messages
  6311.  
  6312.         Error messages    fall  into  four  classes:    Fatal error
  6313.     messages that cause  Sedt to abort execution, and three levels of
  6314.     non-fatal errors.
  6315.  
  6316.         Fatal errors  cause  Sedt  to abort the edit session.  If
  6317.     you have enabled  autosaves  you  may be able to recover the edit
  6318.     session close to the point where it aborted.
  6319.  
  6320.     Fatal errors:
  6321.  
  6322.     Attempt to get before beginning
  6323.         Internal Sedt  error.     This is caused by a bug in Sedt.
  6324.  
  6325.     Could not open key definition file
  6326.         Sedt  could  not  fin  the  key  definition file  due  to
  6327.         improper installation or improper operation of Sedt .
  6328.  
  6329.     Error creating buffer file
  6330.         Sedt was unable to create a temporary file on disk due to
  6331.         a lack    of  disk  space available.  Correct the situation
  6332.         and restart the edit session for a recovery.
  6333.  
  6334.     Error reading data from buffer
  6335.         Internal Sedt error.  This is  caused  by  a bug in Sedt.
  6336.  
  6337.     Error writing data from buffer
  6338.         Sedt was unable  to write to a temporary file on disk due
  6339.         to a lack of disk space available.  Correct the situation
  6340.         and restart the edit session for a recovery.
  6341.  
  6342.     More files than buffers
  6343.         You attempted to call Sedt  with a command that requested
  6344.         editing more than 4 different files.
  6345.  
  6346.     Too many file arguments
  6347.         For each buffer you can only  request  an  input  and  an
  6348.         output file.  You supplied more than  two  file arguments
  6349.         to the buffer.
  6350.  
  6351.         Other errors  are  non-fatal  and can optionally ring the
  6352.     bell to get your attention.  This is done with the :EL command.
  6353.